Skip to content

Command::help_template

since 0.1.0

Sets the help template to be used, overriding the default format.

name = "myprog"
help-template = "{before-help}{name} {version}\n{author-with-newline}{about-with-newline}\n{usage-heading} {usage}\n\n{all-args}{after-help}"
[args]
Terminal window
myprog --help
Terminal window
myprog
Usage: myprog
Options:
-h, --help Print help