[PATCH] virt-login-shell: clean up usage

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I noticed a couple 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@xxxxxxxxxx>
---

Pushing under the trivial rule.

 tools/virt-login-shell.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/tools/virt-login-shell.c b/tools/virt-login-shell.c
index 758d1af..8b35e34 100644
--- a/tools/virt-login-shell.c
+++ b/tools/virt-login-shell.c
@@ -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);
-- 
1.8.4.2

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]