changeset 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 957d697d27d3
children 1508a4c35c47
files data/xinhibit-applet.1 main.c
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/data/xinhibit-applet.1	Sat Jul 27 19:21:07 2013 +0200
+++ b/data/xinhibit-applet.1	Thu Aug 08 16:16:40 2013 +0200
@@ -20,7 +20,7 @@
 .\" TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
 .\" SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
 .\"
-.TH XINHIBIT\-APPLET 1 "22 Apr 2013"
+.TH XINHIBIT\-APPLET 1 "30 Apr 2013"
 .SH NAME
 xinhibit\-applet \- inhibit automatic power management
 .SH SYNOPSIS
@@ -38,7 +38,7 @@
 .BR \-h ", " \-? ", " \-\-help
 Print a summary of all command line options and exit.
 .TP
-.BR \-v ", " \-\-version
+.BR \-V ", " \-\-version
 Print the version number and exit.
 .SH EXIT STATUS
 .TP
--- 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 }
 	};