Skip to content

Commit d333fdf

Browse files
committed
Added a section about debug mode
1 parent 71f8f6a commit d333fdf

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

README.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,4 +78,9 @@ The order the arguments are passed on the command line makes a difference
7878
### Examples
7979

8080
* Calling `my-script.sh -f first -f last` will cause `${args["f"]}` to have the value `last`
81-
* Calling `my-script.sh -g 345 -g` will mean cause `${args["g"]}` to be blank
81+
* Calling `my-script.sh -g 345 -g` will mean cause `${args["g"]}` to be blank
82+
83+
## Debug Mode
84+
85+
There is a debug mode that can be enabled by setting the `ARG_DEBUG` variable at the top of the script to `true`.
86+
This will cause the script to dump out information about which flags it finds and of what kind etc

0 commit comments

Comments
 (0)