From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeremy Fitzhardinge Subject: [PATCH] Make xl usage summary legible Date: Fri, 30 Apr 2010 14:51:06 -0700 Message-ID: <4BDB50CA.6050901@goop.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Return-path: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Vincent Hanquez Cc: Xen-devel , Ian Jackson , Stefano Stabellini List-Id: xen-devel@lists.xenproject.org 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 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 [args]\n\n"); printf("xl full list of subcommands:\n\n"); - printf(" create create a domain from config file \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 \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 [options] [vars]\n\n"); printf("Create a domain based on .\n\n");