Jeremy Fitzhardinge
2010-Apr-30 21:51 UTC
[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@citrix.com>
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@lists.xensource.com
http://lists.xensource.com/xen-devel
Stefano Stabellini
2010-May-03 15:57 UTC
[Xen-devel] Re: [PATCH] Make xl usage summary legible
On Fri, 30 Apr 2010, Jeremy Fitzhardinge wrote:> The xl usage summary is illegible with its double spacing and huge gap > between the command and its description. Tighten it up. >Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com> _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel