xl: fix 'xl help' command
PATCH 1/1 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 <[email protected]>
tools/libxl/xl.c +1 -1
@@ -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" );
Signature · 2 lines
Regards Yang Hongyang