aboutsummaryrefslogtreecommitdiff
path: root/source/1.0/src/shflags
diff options
context:
space:
mode:
Diffstat (limited to 'source/1.0/src/shflags')
-rw-r--r--source/1.0/src/shflags2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/1.0/src/shflags b/source/1.0/src/shflags
index b77a6ab..726b206 100644
--- a/source/1.0/src/shflags
+++ b/source/1.0/src/shflags
@@ -709,7 +709,7 @@ _flags_parseGetopt()
# properly give user access to non-flag arguments mixed in between flag
# arguments. Its usage was replaced by FLAGS_ARGV, and it is being kept only
# for backwards compatibility reasons.
- FLAGS_ARGC=`_flags_math $# - 1 - ${_flags_argc_}`
+ FLAGS_ARGC=`_flags_math "$# - 1 - ${_flags_argc_}"`
# handle options. note options with values must do an additional shift
while true; do