|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] xl: fix 'xl help' command
# HG changeset patch
# User Keir Fraser <keir.fraser@xxxxxxxxxx>
# Date 1275893347 -3600
# Node ID 0eeda0176d87a289157d73be46f143c0a5399760
# Parent fea30506900b6069a548400d2beae9d5453809d5
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@xxxxxxxxxxxxxx>
---
tools/libxl/xl.c | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
diff -r fea30506900b -r 0eeda0176d87 tools/libxl/xl.c
--- a/tools/libxl/xl.c Mon Jun 07 07:47:30 2010 +0100
+++ b/tools/libxl/xl.c Mon Jun 07 07:49:07 2010 +0100
@@ -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");
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] xl: fix 'xl help' command,
Xen patchbot-unstable <=
|
|
|
|
|