aboutsummaryrefslogtreecommitdiff
path: root/shflags
diff options
context:
space:
mode:
authorKate Ward <kate.ward@forestent.com>2018-01-16 23:22:37 +0100
committerKate Ward <kate.ward@forestent.com>2018-01-16 23:22:37 +0100
commiteef376e159c9c1f7c3ebd2b6a28ecef9f688efc9 (patch)
tree04db42db28c2d2469831ad8251ffd52322ad6e98 /shflags
parent44075ed16217234a913e9894c6cb5a6741c4586a (diff)
downloadshflags-eef376e159c9c1f7c3ebd2b6a28ecef9f688efc9.tar.gz
Validate that globbing works in _flags_itemInList().
Diffstat (limited to 'shflags')
-rw-r--r--shflags2
1 files changed, 1 insertions, 1 deletions
diff --git a/shflags b/shflags
index c8dd5fe..a6ce471 100644
--- a/shflags
+++ b/shflags
@@ -545,7 +545,7 @@ _flags_getFlagInfo() {
# Returns:
# boolean: true if item is in the list
_flags_itemInList() {
- _flags_str_=$1
+ _flags_str_="$1"
shift
case " ${*:-} " in