mu: support '-V' for --version

And describe it in the man-page, which erroneously had '-v' which is
used for --verbose.

Fixes: #1927
This commit is contained in:
Dirk-Jan C. Binnema 2021-02-13 13:33:12 +02:00
parent bba8af8d51
commit 5e359fb739
2 changed files with 3 additions and 3 deletions

View File

@ -1,4 +1,4 @@
.TH MU 1 "February 2020" "User Manuals"
.TH MU 1 "February 2021" "User Manuals"
.SH NAME
@ -155,7 +155,7 @@ causes \fBmu\fR to \fBnot\fR output log messages to standard error, in
addition to sending them to the log file.
.TP
\fB\-v\fR, \fB\-\-version\fR
\fB\-V\fR, \fB\-\-version\fR
prints \fBmu\fR version and copyright information.
.TP

View File

@ -102,7 +102,7 @@ config_options_group_mu (void)
"print debug output to standard error (false)", NULL},
{"quiet", 'q', 0, G_OPTION_ARG_NONE, &MU_CONFIG.quiet,
"don't give any progress information (false)", NULL},
{"version", 0, 0, G_OPTION_ARG_NONE, &MU_CONFIG.version,
{"version", 'V', 0, G_OPTION_ARG_NONE, &MU_CONFIG.version,
"display version and copyright information (false)", NULL},
{"muhome", 0, 0, G_OPTION_ARG_FILENAME, &MU_CONFIG.muhome,
"specify an alternative mu directory", "<dir>"},