Skip to content

Command::arg_required_else_help

since 0.1.0

Exit gracefully if no arguments are present (e.g. $ myprog).

name = "myprog"
arg-required-else-help = true
Terminal window
myprog
Terminal window
Usage: myprog
Options:
-h, --help Print help