# HG changeset patch # User stekloff@xxxxxxxxxxxxxxxxxxxxxxxxxx # Node ID 532b7355be80172464f4c73d22c0d309923ccf52 # Parent 13d6d993d79724d86a0c9ac556a7f884baed98ae The xm dmesg command wasn't taking the -c/--clear options because of incorrect values to arg_check(). Patch simply allows for the possible option with arg_check(). Signed-off-by: Daniel Stekloff diff -r 13d6d993d797 -r 532b7355be80 tools/python/xen/xm/main.py --- a/tools/python/xen/xm/main.py Mon May 22 16:30:25 2006 +++ b/tools/python/xen/xm/main.py Tue May 30 18:46:10 2006 @@ -762,7 +762,7 @@ os.execvp('xentop', ['xentop']) def xm_dmesg(args): - arg_check(args, "dmesg", 0) + arg_check(args, "dmesg", 0, 1) gopts = Opts(use="""[-c|--clear]