[virt-tools-list] [PATCH virt-viewer 10/17] Use a first letter capital in help

Marc-André Lureau marcandre.lureau at gmail.com
Fri Jan 27 13:51:29 UTC 2012


The GLib/GNOME convention seems to have first letter as capital for
option description strings.
---
 src/virt-viewer-main.c |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/src/virt-viewer-main.c b/src/virt-viewer-main.c
index 07534b4..c8e1082 100644
--- a/src/virt-viewer-main.c
+++ b/src/virt-viewer-main.c
@@ -59,21 +59,21 @@ int main(int argc, char **argv)
 	const char *help_msg = N_("Run '" PACKAGE " --help' to see a full list of available command line options");
 	const GOptionEntry options [] = {
 		{ "version", 'V', G_OPTION_FLAG_NO_ARG, G_OPTION_ARG_CALLBACK,
-		  virt_viewer_version, N_("display version information"), NULL },
+		  virt_viewer_version, N_("Display version information"), NULL },
 		{ "verbose", 'v', 0, G_OPTION_ARG_NONE, &verbose,
-		  N_("display verbose information"), NULL },
+		  N_("Display verbose information"), NULL },
 		{ "direct", 'd', 0, G_OPTION_ARG_NONE, &direct,
-		  N_("direct connection with no automatic tunnels"), NULL },
+		  N_("Direct connection with no automatic tunnels"), NULL },
 		{ "connect", 'c', 0, G_OPTION_ARG_STRING, &uri,
-		  N_("connect to hypervisor"), "URI"},
+		  N_("Connect to hypervisor"), "URI"},
 		{ "wait", 'w', 0, G_OPTION_ARG_NONE, &waitvm,
-		  N_("wait for domain to start"), NULL },
+		  N_("Wait for domain to start"), NULL },
 		{ "reconnect", 'r', 0, G_OPTION_ARG_NONE, &reconnect,
-		  N_("reconnect to domain upon restart"), NULL },
+		  N_("Reconnect to domain upon restart"), NULL },
 		{ "zoom", 'z', 0, G_OPTION_ARG_INT, &zoom,
 		  N_("Zoom level of window, in percentage"), "ZOOM" },
 		{ "debug", '\0', 0, G_OPTION_ARG_NONE, &debug,
-		  N_("display debugging information"), NULL },
+		  N_("Display debugging information"), NULL },
 		{ "full-screen", 'f', 0, G_OPTION_ARG_NONE, &fullscreen,
 		  N_("Open in full screen mode"), NULL },
 		{ G_OPTION_REMAINING, '\0', 0, G_OPTION_ARG_STRING_ARRAY, &args,
-- 
1.7.7.6




More information about the virt-tools-list mailing list