ia64/xen-unstable

changeset 10227:d291e3a930dd

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>
author kaf24@firebug.cl.cam.ac.uk
date Wed May 31 07:48:54 2006 +0100 (2006-05-31)
parents 59bd5b9f5043
children 9e207a5cf589
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed May 31 07:48:00 2006 +0100
     1.2 +++ b/tools/python/xen/xm/main.py	Wed May 31 07:48:54 2006 +0100
     1.3 @@ -806,7 +806,7 @@ def xm_top(args):
     1.4      os.execvp('xentop', ['xentop'])
     1.5  
     1.6  def xm_dmesg(args):
     1.7 -    arg_check(args, "dmesg", 0)
     1.8 +    arg_check(args, "dmesg", 0, 1)
     1.9      
    1.10      gopts = Opts(use="""[-c|--clear]
    1.11