Skip to content

Commit

Permalink
Merge pull request #6 from baierjan/getopt
Browse files Browse the repository at this point in the history
Stop mixing option and non-option parameters
  • Loading branch information
mergify[bot] authored Apr 5, 2024
2 parents b9b8f3b + ebd6c64 commit 2d4e170
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion retry
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ options:

# parse arguments
opts=$(getopt \
--options h,r:,s:,e:: \
--options +h,r:,s:,e:: \
--longoptions help,retries:,sleep:,exponential:: \
--name "$(basename "$0")" -- "$@") || usage 1

Expand Down

0 comments on commit 2d4e170

Please sign in to comment.