documentation: terminate options using double dash "--"

pull/427/head
Axel Burri 2021-08-18 03:32:15 +02:00
parent 4b7b7cfc06
commit b8370de9de
3 changed files with 4 additions and 4 deletions

4
btrbk
View File

@ -402,7 +402,7 @@ sub HELP_MESSAGE
#80-----------------------------------------------------------------------------
if($program_name eq "lsbtr") {
print STDERR <<"END_HELP_LSBTR";
usage: lsbtr [options] [path]...
usage: lsbtr [<options>] [[--] <path>...]
options:
-h, --help display this help message
@ -420,7 +420,7 @@ END_HELP_LSBTR
}
else {
print STDERR <<"END_HELP_BTRBK";
usage: btrbk [options] <command> [filter...]
usage: btrbk [<options>] <command> [[--] <filter>...]
options:
-h, --help display this help message

View File

@ -25,7 +25,7 @@ btrbk [-h|--help] [--version]
[-S|--print-schedule] [--progress]
[--lockfile <file>]
[--override <config_option>=<value>]
<command> [<args>]
<command> [[--] <filter>...]
DESCRIPTION

View File

@ -22,7 +22,7 @@ lsbtr [-h|--help] [--version]
[-v|--verbose]
[-c|--config <file>]
[--override <config_option>=<value>]
[<path>|<url>...]
[[--] <path>|<url>...]
DESCRIPTION