]> xenbits.xensource.com Git - libvirt.git/commitdiff
virt-login-shell: clean up usage
authorEric Blake <eblake@redhat.com>
Tue, 24 Dec 2013 04:26:27 +0000 (21:26 -0700)
committerEric Blake <eblake@redhat.com>
Tue, 24 Dec 2013 04:53:48 +0000 (21:53 -0700)
I noticed a few odd things in 'virt-login-shell --help' output.

* tools/virt-login-shell.c (usage): At most one option accepted,
drop trailing colon.

Signed-off-by: Eric Blake <eblake@redhat.com>
tools/virt-login-shell.c

index 758d1af17f4b79eada6e720c7fe8aed11f2be6c9..8b35e34384304ba5ab1205185ae7698064ba74d1 100644 (file)
@@ -161,10 +161,10 @@ usage(void)
     fprintf(stdout,
             _("\n"
               "Usage:\n"
-              "  %s [options]\n\n"
+              "  %s [option]\n\n"
               "Options:\n"
-              "  -h | --help            Display program help:\n"
-              "  -V | --version         Display program version:\n"
+              "  -h | --help            Display program help\n"
+              "  -V | --version         Display program version\n"
               "\n"
               "libvirt login shell\n"),
             progname);