Skip to content

Commit 12572ec

Browse files
committed
Corrected reference to arg array when it's easier to use the helper function
1 parent f1f8985 commit 12572ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,8 +101,8 @@ The order the arguments are passed on the command line makes a difference
101101

102102
### Examples
103103

104-
* Calling `my-script.sh -f first -f last` will cause `${args["f"]}` to have the value `last`
105-
* Calling `my-script.sh -g 345 -g` will mean cause `${args["g"]}` to be blank
104+
* Calling `my-script.sh -f first -f last` will cause `argValue "f"` to return the value `last`
105+
* Calling `my-script.sh -g 345 -g` will mean cause `argValue "g"` to return nothing
106106

107107
## Debug Mode
108108

0 commit comments

Comments
 (0)