projects
/
xen.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4244952
)
xl: fix 'xl help' command
author
Keir Fraser
<keir.fraser@citrix.com>
Mon, 7 Jun 2010 06:49:07 +0000
(07:49 +0100)
committer
Keir Fraser
<keir.fraser@citrix.com>
Mon, 7 Jun 2010 06:49:07 +0000
(07:49 +0100)
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>
tools/libxl/xl.c
patch
|
blob
|
history
diff --git
a/tools/libxl/xl.c
b/tools/libxl/xl.c
index 8ddba288d33bc5669245518c15c41404c252ba1b..226b0135136cc4775e049da744621605a5d30d42 100644
(file)
--- 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");