Use long option names
This commit is contained in:
parent
38bf705a3c
commit
82cd587d18
7 changed files with 23 additions and 23 deletions
|
|
@ -3,7 +3,7 @@
|
|||
set -euo pipefail
|
||||
IFS=$'\n\t'
|
||||
|
||||
if ! PARSED_OPTIONS=$(getopt -o "" --long "offline,volatile" --name "$0" -- "$@"); then
|
||||
if ! PARSED_OPTIONS=$(getopt --options "" --long "offline,volatile" --name "$0" -- "$@"); then
|
||||
echo "Error parsing options." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue