diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 13:49:17 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 13:49:17 (EDT) |
commit | 50681819914df815d826419fbd4d798d5e8f221d (patch) | |
tree | 3a3249216e24af8949f2d830d229c2e555a5b34a | |
parent | b208ec1fc1fb4452647560346cc1ea71179c698a (diff) |
_get_options(): Unset OPTIND
-rw-r--r-- | src/main.sh | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.sh b/src/main.sh index 549e45e..a06a885 100644 --- a/src/main.sh +++ b/src/main.sh @@ -45,6 +45,7 @@ _get_options() { local opt= + unset OPTIND unset OPTARG while getopts "${OPTSTRING}" opt; do case "${opt}" in |