diff main.c @ 4:54ecfe6a14cf

Use -V as a command line option for showing the version The convention is that the -v command line option controls verbosity, thus use -V instead for showing the version.
author Guido Berhoerster <guido+xinhibit-applet@berhoerster.name>
date Thu, 08 Aug 2013 16:16:40 +0200
parents 9a16bf50daba
children
line wrap: on
line diff
--- a/main.c	Sat Jul 27 19:21:07 2013 +0200
+++ b/main.c	Thu Aug 08 16:16:40 2013 +0200
@@ -42,7 +42,7 @@
 	const GOptionEntry options[] = {
 		{ "debug", 'd', 0, G_OPTION_ARG_NONE, &debug_mode,
 		    N_("Enable debugging output"), NULL },
-		{ "version", 'v', 0, G_OPTION_ARG_NONE, &version,
+		{ "version", 'V', 0, G_OPTION_ARG_NONE, &version,
 		    N_("Print the version number and exit"), NULL },
 		{ NULL, 0, 0, G_OPTION_ARG_NONE, NULL, NULL, 0 }
 	};