mirror of
https://0xacab.org/liberate/backupninja.git
synced 2024-11-23 11:13:18 +01:00
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.
This commit is contained in:
parent
fa8301c924
commit
d9ca93ab91
@ -71,7 +71,7 @@ burn CD/DVDs or create ISOs.
|
|||||||
.B \-h, \-\-help
|
.B \-h, \-\-help
|
||||||
Show summary of options
|
Show summary of options
|
||||||
.TP
|
.TP
|
||||||
.B \-v, \-\-version
|
.B \-V, \-\-version
|
||||||
Show backupninja version number
|
Show backupninja version number
|
||||||
.TP
|
.TP
|
||||||
.B \-d, \-\-debug
|
.B \-d, \-\-debug
|
||||||
|
@ -278,7 +278,7 @@ script is run hourly from cron.
|
|||||||
|
|
||||||
The following options are available:
|
The following options are available:
|
||||||
-h, --help This usage message
|
-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
|
-d, --debug Run in debug mode, where all log messages are
|
||||||
output to the current shell.
|
output to the current shell.
|
||||||
-f, --conffile FILE Use FILE for the main configuration instead
|
-f, --conffile FILE Use FILE for the main configuration instead
|
||||||
@ -439,7 +439,7 @@ version="@PACKAGE_VERSION@"
|
|||||||
while [ $# -ge 1 ]; do
|
while [ $# -ge 1 ]; do
|
||||||
case $1 in
|
case $1 in
|
||||||
-h|--help) usage;;
|
-h|--help) usage;;
|
||||||
-v|--version) echo "backupninja $version";;
|
-V|--version) echo "backupninja $version";;
|
||||||
-d|--debug) debug=1; export BACKUPNINJA_DEBUG=yes;;
|
-d|--debug) debug=1; export BACKUPNINJA_DEBUG=yes;;
|
||||||
-t|--test) test=1;debug=1;;
|
-t|--test) test=1;debug=1;;
|
||||||
-n|--now) processnow=1;;
|
-n|--now) processnow=1;;
|
||||||
|
Loading…
Reference in New Issue
Block a user