Fix to xm create --help from Ken Grant.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
This commit is contained in:
emellor@leeni.uk.xensource.com committed 2005-11-23 12:29:58 +01:00
1 parent 5d7d4a952f
commit f7ba489565
1 file changed
+2 -1
+2 -1
View File
@@ -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]
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.