Skip to content

Command::help_expected

since 0.1.0

Panic if help descriptions are omitted.

name = "myprog"
help-expected = true
[args]
foo = { help = "It does foo stuff" }
Terminal window
myprog --help
Terminal window
Usage: myprog [foo]
Arguments:
[foo] It does foo stuff
Options:
-h, --help Print help