Skip to content
Snippets Groups Projects
Commit d9ca93ab authored by Jérôme Charaoui's avatar Jérôme Charaoui
Browse files

Use -V instead of -v as shorthand for --version

The capital-V is more common as shorthand for --version, since many
commandline tools use -v as a shorthand for --verbose.
parent fa8301c9
No related branches found
No related tags found
No related merge requests found
......@@ -71,7 +71,7 @@ burn CD/DVDs or create ISOs.
.B \-h, \-\-help
Show summary of options
.TP
.B \-v, \-\-version
.B \-V, \-\-version
Show backupninja version number
.TP
.B \-d, \-\-debug
......
......@@ -278,7 +278,7 @@ script is run hourly from cron.
The following options are available:
-h, --help This usage message
-v, --version Show backupninja version number
-V, --version Show backupninja version number
-d, --debug Run in debug mode, where all log messages are
output to the current shell.
-f, --conffile FILE Use FILE for the main configuration instead
......@@ -439,7 +439,7 @@ version="@PACKAGE_VERSION@"
while [ $# -ge 1 ]; do
case $1 in
-h|--help) usage;;
-v|--version) echo "backupninja $version";;
-V|--version) echo "backupninja $version";;
-d|--debug) debug=1; export BACKUPNINJA_DEBUG=yes;;
-t|--test) test=1;debug=1;;
-n|--now) processnow=1;;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment