aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/xl.c
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2010-06-07 07:49:07 +0100
committerKeir Fraser <keir.fraser@citrix.com>2010-06-07 07:49:07 +0100
commite9bf40dbce3289dd55da01a7252b0eccab4cb68f (patch)
tree9e8563866436cb85917bd124c2f0f7b02ea47815 /tools/libxl/xl.c
parent4244952130c925c126c248f5059718538cbe9e2b (diff)
downloadxen-e9bf40dbce3289dd55da01a7252b0eccab4cb68f.tar.gz
xen-e9bf40dbce3289dd55da01a7252b0eccab4cb68f.tar.bz2
xen-e9bf40dbce3289dd55da01a7252b0eccab4cb68f.zip
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@cn.fujitsu.com>
Diffstat (limited to 'tools/libxl/xl.c')
-rw-r--r--tools/libxl/xl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/xl.c b/tools/libxl/xl.c
index 8ddba288d3..226b013513 100644
--- a/tools/libxl/xl.c
+++ b/tools/libxl/xl.c
@@ -76,7 +76,7 @@ int main(int argc, char **argv)
if (i >= cmdtable_len) {
if (!strcmp(cmd, "help")) {
- help(argv[1]);
+ help(argv[2]);
exit(0);
} else {
fprintf(stderr, "command not implemented\n");