direct-io.hg

changeset 7978:6ab21a197549

Fix to xm create --help from Ken Grant.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
author emellor@leeni.uk.xensource.com
date Wed Nov 23 12:29:58 2005 +0100 (2005-11-23)
parents 6c252ba7a639
children 4b8599f53bb4
files tools/python/xen/xm/main.py
line diff
     1.1 --- a/tools/python/xen/xm/main.py	Wed Nov 23 12:22:58 2005 +0100
     1.2 +++ b/tools/python/xen/xm/main.py	Wed Nov 23 12:29:58 2005 +0100
     1.3 @@ -847,7 +847,8 @@ def deprecated(old,new):
     1.4  
     1.5  def usage(cmd=None):
     1.6      if cmd == 'create':
     1.7 -        xm_subcommand("create", "--help")
     1.8 +        mycmd = xm_lookup_cmd(cmd)
     1.9 +        mycmd( ['--help'] )
    1.10          sys.exit(1)
    1.11      if help.has_key(cmd):
    1.12          print "   " + help[cmd]