WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] xl: fix 'xl help' command

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] xl: fix 'xl help' command
From: Xen patchbot-unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Sun, 06 Jun 2010 23:55:25 -0700
Delivery-date: Sun, 06 Jun 2010 23:57:40 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=