]> xenbits.xensource.com Git - xen.git/commitdiff
xl: Make xl usage summary legible
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:19:50 +0000 (12:19 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 4 May 2010 11:19:50 +0000 (12:19 +0100)
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>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
tools/libxl/xl_cmdimpl.c

index c11358533edd2b608ce923b2949acf51c16cb8ca..46da813a3ad57abe1b5fc089f18c0b444147e8ea 100644 (file)
@@ -1123,7 +1123,7 @@ void help(char *command)
         printf("Usage xl <subcommand> [args]\n\n");
         printf("xl full list of subcommands:\n\n");
         for (i = 0; i < cmdtable_len; i++)
-            printf(" %-25s%s\n\n",
+            printf(" %-20s%s\n",
                    cmd_table[i].cmd_name, cmd_table[i].cmd_desc);
     } else if(!strcmp(command, "create")) {
         printf("Usage: xl create <ConfigFile> [options] [vars]\n\n");