[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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



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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.