summaryrefslogtreecommitdiffstats
path: root/src/main.sh
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.sh')
-rw-r--r--src/main.sh2
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