mirror of
https://github.com/kvz/bash3boilerplate.git
synced 2024-12-19 06:37:51 +00:00
9350e0574c
If the description of an option contains the single word sentence 'Required.' it is understood as a required argument and automatic validation will make sure that it is set or end the script by calling help. Alternatively, if the argument within the __usage string is {arg} instead of [arg] it is understood as a required argument and automatic validation will make sure that it is set or end the script by calling help (even if 'Required.' is not in the description). Closes #22 |
||
---|---|---|
.. | ||
.empty | ||
ini_val.exitcode | ||
ini_val.stdio | ||
main-debug.exitcode | ||
main-debug.stdio | ||
main-help.exitcode | ||
main-help.stdio | ||
main-longopt.exitcode | ||
main-longopt.stdio | ||
main-nocolor.exitcode | ||
main-nocolor.stdio | ||
main-usage-defaults.exitcode | ||
main-usage-defaults.stdio | ||
main-usage-validation.exitcode | ||
main-usage-validation.stdio | ||
megamount.exitcode | ||
megamount.stdio | ||
parse_url.exitcode | ||
parse_url.stdio | ||
templater.exitcode | ||
templater.stdio |