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>
This commit is contained in:
Keir Fraser committed 2010-06-07 07:49:07 +01:00
1 parent 4244952130
commit e9bf40dbce
1 file changed
+1 -1
+1 -1
View File
@@ -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");
Reference in new issue
Block a user
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.