diff options
author | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 14:05:07 (EDT) |
---|---|---|
committer | Patrick McDermott <patrick.mcdermott@libiquity.com> | 2019-04-14 14:05:07 (EDT) |
commit | 4d4570f81329f3e99cf0ce1b8ed61d5b9cb39026 (patch) | |
tree | adca1d13db70a3180616c83b3983f8af6a1d88a1 /src/main.sh | |
parent | 716bbf8e10d58ec008eb24978584caebc07f87fc (diff) |
_get_options(): Initialize OPTIND to 1
Diffstat (limited to 'src/main.sh')
-rw-r--r-- | src/main.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.sh b/src/main.sh index feb425f..5ee0027 100644 --- a/src/main.sh +++ b/src/main.sh @@ -45,7 +45,7 @@ _get_options() { local opt= - unset OPTIND + OPTIND=1 unset OPTARG while getopts "${OPTSTRING}" opt; do case "${opt}" in |