[prev in list] [next in list] [prev in thread] [next in thread] 

List:       xen-cvs
Subject:    [Xen-changelog] The xm dmesg command wasn't taking the -c/--clear
From:       Xen patchbot-unstable <patchbot-unstable () lists ! xensource ! com>
Date:       2006-05-31 16:22:14
Message-ID: E1FlTSZ-0007I5-83 () xenbits ! xensource ! com
[Download RAW message or body]

# HG changeset patch
# User kaf24@firebug.cl.cam.ac.uk
# 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@us.ibm.com>
---
 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@lists.xensource.com
http://lists.xensource.com/xen-changelog
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic