Skip to main content

print_help

Function print_help 

Source
pub fn print_help<T: Parser>(long: bool)
Available on crate features cli and print only.
Expand description

Print the help text from a command parser.

Whether the output has color depends on the main CLI --color option. This is useful for implementing custom command parser within an application.