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-devel

[Xen-devel] [PATCH] Make xl usage summary legible

To: Vincent Hanquez <vincent.hanquez@xxxxxxxxxxxxx>
Subject: [Xen-devel] [PATCH] Make xl usage summary legible
From: Jeremy Fitzhardinge <jeremy@xxxxxxxx>
Date: Fri, 30 Apr 2010 14:51:06 -0700
Cc: Xen-devel <xen-devel@xxxxxxxxxxxxxxxxxxx>, Ian Jackson <Ian.Jackson@xxxxxxxxxxxxx>, Stefano Stabellini <Stefano.Stabellini@xxxxxxxxxxxxx>
Delivery-date: Fri, 30 Apr 2010 14:51:59 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.1.9) Gecko/20100430 Fedora/3.0.4-2.fc12 Lightning/1.0b2pre Thunderbird/3.0.4
The xl usage summary is illegible with its double spacing and huge gap
between the command and its description.  Tighten it up.

Signed-off-by: Jeremy Fitzhardinge <jeremy.fitzhardinge@xxxxxxxxxx>

diff -r 92f31d1d30b3 -r 0ea790d96997 tools/libxl/xl.c
--- a/tools/libxl/xl.c  Fri Apr 30 13:47:27 2010 -0700
+++ b/tools/libxl/xl.c  Fri Apr 30 14:46:55 2010 -0700
@@ -1089,24 +1089,24 @@
     if (!command || !strcmp(command, "help")) {
         printf("Usage xl <subcommand> [args]\n\n");
         printf("xl full list of subcommands:\n\n");
-        printf(" create                        create a domain from config 
file <filename>\n\n");
-        printf(" list                          list information about all 
domains\n\n");
-        printf(" destroy                       terminate a domain 
immediately\n\n");
-        printf(" pci-attach                    insert a new pass-through pci 
device\n\n");
-        printf(" pci-detach                    remove a domain's pass-through 
pci device\n\n");
-        printf(" pci-list                      list pass-through pci devices 
for a domain\n\n");
-        printf(" pause                         pause execution of a 
domain\n\n");
-        printf(" unpause                       unpause a paused domain\n\n");
-        printf(" console                       attach to domain's 
console\n\n");
-        printf(" save                          save a domain state to restore 
later\n\n");
-        printf(" restore                       restore a domain from a saved 
state\n\n");
-        printf(" cd-insert                     insert a cdrom into a guest's 
cd drive\n\n");
-        printf(" cd-eject                      eject a cdrom from a guest's cd 
drive\n\n");
-        printf(" mem-set                       set the current memory usage 
for a domain\n\n");
-        printf(" button-press                  indicate an ACPI button press 
to the domain\n\n");
-        printf(" vcpu-list                     list the VCPUs for all/some 
domains.\n\n");
-        printf(" vcpu-pin                      Set which CPUs a VCPU can 
use.\n\n");
-        printf(" vcpu-set                      Set the number of active VCPUs 
allowed for the domain.\n\n");
+        printf(" create                create a domain from config file 
<filename>\n");
+        printf(" list                  list information about all domains\n");
+        printf(" destroy               terminate a domain immediately\n");
+        printf(" pci-attach            insert a new pass-through pci 
device\n");
+        printf(" pci-detach            remove a domain's pass-through pci 
device\n");
+        printf(" pci-list              list pass-through pci devices for a 
domain\n");
+        printf(" pause                 pause execution of a domain\n");
+        printf(" unpause               unpause a paused domain\n");
+        printf(" console               attach to domain's console\n");
+        printf(" save                  save a domain state to restore 
later\n");
+        printf(" restore               restore a domain from a saved state\n");
+        printf(" cd-insert             insert a cdrom into a guest's cd 
drive\n");
+        printf(" cd-eject              eject a cdrom from a guest's cd 
drive\n");
+        printf(" mem-set               set the current memory usage for a 
domain\n");
+        printf(" button-press          indicate an ACPI button press to the 
domain\n");
+        printf(" vcpu-list             list the VCPUs for all/some 
domains.\n");
+        printf(" vcpu-pin              Set which CPUs a VCPU can use.\n");
+        printf(" vcpu-set              Set the number of active VCPUs allowed 
for the domain.\n");
     } else if(!strcmp(command, "create")) {
         printf("Usage: xl create <ConfigFile> [options] [vars]\n\n");
         printf("Create a domain based on <ConfigFile>.\n\n");



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH] Make xl usage summary legible, Jeremy Fitzhardinge <=