mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
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 <dsteklof@us.ibm.com>
This commit is contained in:
1 parent
652b6e9492
commit
affc898c83
1 file changed
+1
-1
@@ -806,7 +806,7 @@ def xm_top(args):
|
||||
os.execvp('xentop', ['xentop'])
|
||||
|
||||
def xm_dmesg(args):
|
||||
arg_check(args, "dmesg", 0)
|
||||
arg_check(args, "dmesg", 0, 1)
|
||||
|
||||
gopts = Opts(use="""[-c|--clear]
|
||||
|
||||
|
||||