aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Brodsky <kevin.brodsky@linaro.org>2017-06-26 14:56:28 +0100
committerKevin Brodsky <kevin.brodsky@linaro.org>2017-06-26 14:59:22 +0100
commit453c91aa5af95701dcea4ae5dd46829628c3f46d (patch)
tree22e7b18a2eb1c366560277e1a3dc625699ffbad9
parent6bc92adc3416a8657784ccb2231a57fde64b2aa2 (diff)
utils: fix arguments_parser for optional strings
Not sure how I missed that in the first place... Change-Id: I2c3080712d3a9e2bf7901b480fb2deb413d89062
-rw-r--r--utils/internal/utils.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/internal/utils.sh b/utils/internal/utils.sh
index 0e5568a..707f6c2 100644
--- a/utils/internal/utils.sh
+++ b/utils/internal/utils.sh
@@ -171,7 +171,7 @@ _arguments_parser_check_format() {
return 1
fi
;;
- s:*) # String.
+ [sS]:*) # String.
;;
r:*) # Reference to another option.
_references+=("${_opt}")