From: Keir Fraser Date: Mon, 7 Jun 2010 06:49:07 +0000 (+0100) Subject: xl: fix 'xl help' command X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~11999 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=e9bf40dbce3289dd55da01a7252b0eccab4cb68f;p=xen.git 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 --- 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");