[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] The xm dmesg command wasn't taking the -c/--clear options because of



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID d291e3a930dd1c2e39414fe20824ef5d2d815922
# Parent  59bd5b9f5043d7024e47dec4528ab6b7f8ae416b
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@xxxxxxxxxx>
---
 tools/python/xen/xm/main.py |    2 +-
 1 files changed, 1 insertion(+), 1 deletion(-)

diff -r 59bd5b9f5043 -r d291e3a930dd tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Wed May 31 07:48:00 2006 +0100
+++ b/tools/python/xen/xm/main.py       Wed May 31 07:48:54 2006 +0100
@@ -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]
 

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.