Skip to main content

render

Function render 

Source
pub fn render(command: &Command, path: &[&str], long: bool) -> String
Expand description

Render command’s help, plain, wrapped to width. path is the command line leading to it (program name, then subcommand names); long selects --help over -h.