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 054363d..c26f5a6 100644
--- a/src/main.sh
+++ b/src/main.sh
@@ -65,7 +65,7 @@ main()
cmd_help_main >&2
return 1
fi
- shift $(($OPTIND - 1))
+ shift $((${OPTIND} - 1))
if ${opt_h:-false}; then
cmd='help'