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

[Xen-devel] [PATCH]xl: fix 'xl help' command



xl help 'command' should give the help of the 'command',
but current it does not, it just gives a full list of xl
supported commands. This patch fix it.

Signed-off-by: Yang Hongyang <yanghy@xxxxxxxxxxxxxx> 

diff -r c514d69c71d8 tools/libxl/xl.c
--- a/tools/libxl/xl.c  Fri Jun 04 11:39:06 2010 +0100
+++ b/tools/libxl/xl.c  Mon Jun 07 22:06:20 2010 +0800
@@ -76,7 +76,7 @@
 
     if (i >= cmdtable_len) {
         if (!strcmp(cmd, "help")) {
-            help(argv[1]);
+            help(argv[2]);
             exit(0);
         } else {
             fprintf(stderr, "command not implemented\n");

-- 
Regards
Yang Hongyang

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


 


Rackspace

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