Make xl usage summary legible
PATCH 1/1 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 <[email protected]>
tools/libxl/xl.c +18 -18
@@ -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" );
Quoted 3 lines · Jeremy Fitzhardinge
The xl usage summary is illegible with its double spacing and huge gap between the command and its description. Tighten it up.