[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Fix to xm create --help from Ken Grant.



# HG changeset patch
# User emellor@xxxxxxxxxxxxxxxxxxxxxx
# Node ID 6ab21a197549161cc41ac854c213d2b0d9c4fd99
# Parent  6c252ba7a6396888723ba4a84755646e564b6cbb
Fix to xm create --help from Ken Grant.

Signed-off-by: Ewan Mellor <ewan@xxxxxxxxxxxxx>

diff -r 6c252ba7a639 -r 6ab21a197549 tools/python/xen/xm/main.py
--- a/tools/python/xen/xm/main.py       Wed Nov 23 11:22:58 2005
+++ b/tools/python/xen/xm/main.py       Wed Nov 23 11:29:58 2005
@@ -847,7 +847,8 @@
 
 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]

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.