Skip to content

Commit 34a903b

Browse files
committed
Added an example to show case sensitivity
1 parent ea6ab4b commit 34a903b

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

README.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ If the argument doesn't have a value or hasn't been passed nothing is returned.
1313

1414
```bash
1515

16-
# -a "some text"
16+
# -a 'some text'
1717
if [ "$(argValue "a")" == 'some text' ]; then
1818
# Do something awesome
1919
fi
@@ -27,6 +27,10 @@ If the argument doesn't have a value or hasn't been passed nothing is returned.
2727
# -aXb 'cookie'
2828
BISCUIT="$(argValue "b")" # 'cookie'
2929

30+
# -g 'hello' -G 'world'
31+
ALPHA="$(argValue "g")" # 'hello'
32+
BRAVO="$(argValue "G")" # 'world'
33+
3034
```
3135

3236
### Check If An Argument Has Been Passed

0 commit comments

Comments
 (0)