diff options
author | Steve Bennett <steveb@workware.net.au> | 2023-06-22 13:55:33 +1000 |
---|---|---|
committer | Steve Bennett <steveb@workware.net.au> | 2023-07-04 10:08:32 +1000 |
commit | b4401224612367bba465d15e1f940fcf00173142 (patch) | |
tree | 3e7733e130c06462c2c1fe46672a88f370d714a6 /autosetup | |
parent | 8edfa0eee24e0477d20fa25f0ee2f2f50ffa15ab (diff) | |
download | jimtcl-b4401224612367bba465d15e1f940fcf00173142.zip jimtcl-b4401224612367bba465d15e1f940fcf00173142.tar.gz jimtcl-b4401224612367bba465d15e1f940fcf00173142.tar.bz2 |
subcmd: minor improvements
Add support for modulo maxarg count. If maxargs is (e.g.) -2, then a
multiple of 2 args is expected.
Also expose Jim_SubCmdArgError() to make it easy to add additional
arg validation but still have subcmd report the usage.
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Diffstat (limited to 'autosetup')
0 files changed, 0 insertions, 0 deletions