mirror of
https://github.com/xen-project/xen.git
synced 2026-10-28 10:11:27 +01:00
Fix to xm create --help from Ken Grant.
Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
1 parent
5d7d4a952f
commit
f7ba489565
1 file changed
+2
-1
@@ -847,7 +847,8 @@ def deprecated(old,new):
|
||||
|
||||
def usage(cmd=None):
|
||||
if cmd == 'create':
|
||||
xm_subcommand("create", "--help")
|
||||
mycmd = xm_lookup_cmd(cmd)
|
||||
mycmd( ['--help'] )
|
||||
sys.exit(1)
|
||||
if help.has_key(cmd):
|
||||
print " " + help[cmd]
|
||||
|
||||