# HG changeset patch # User Guido Berhoerster # Date 1375971400 -7200 # Node ID 54ecfe6a14cfde5f5f5ee4376201f9ea3fbcf481 # Parent 957d697d27d30af77026e7b824c6bfb734ed572f 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. diff -r 957d697d27d3 -r 54ecfe6a14cf data/xinhibit-applet.1 --- 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 diff -r 957d697d27d3 -r 54ecfe6a14cf main.c --- 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 } };