aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkate.ward <kate.ward@forestent.com>2013-01-15 00:13:41 +0000
committerkate.ward <kate.ward@forestent.com>2013-01-15 00:13:41 +0000
commitf5f46cbbd9db2cb5d220712eb7ff0b9f61796253 (patch)
tree57c3632469760c6b74c1aa3ddc2e8cc2213bab9f
parentd87a1d9dd5c5b5152c61ca49ce1aea01aace10e9 (diff)
downloadshflags-f5f46cbbd9db2cb5d220712eb7ff0b9f61796253.tar.gz
synced lib/shflags to latest HEAD
-rw-r--r--source/1.0/lib/shflags4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/1.0/lib/shflags b/source/1.0/lib/shflags
index e6395d3..9e69e64 100644
--- a/source/1.0/lib/shflags
+++ b/source/1.0/lib/shflags
@@ -1,4 +1,4 @@
-# $Id: shflags 185 2013-01-15 00:00:39Z kate.ward@forestent.com $
+# $Id: shflags 189 2013-01-15 00:13:10Z kate.ward@forestent.com $
# vim:et:ft=sh:sts=2:sw=2
#
# Copyright 2008 Kate Ward. All Rights Reserved.
@@ -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