Use App::after_help() for printing runtime-generated help output
This commit is contained in:
parent
5e8feca6bb
commit
0c2308bd76
1 changed files with 1 additions and 1 deletions
|
@ -137,7 +137,7 @@ fn main() {
|
||||||
.multiple(false)
|
.multiple(false)
|
||||||
.help("Get the versions of the imag commands"))
|
.help("Get the versions of the imag commands"))
|
||||||
.subcommand(SubCommand::with_name("help").help("Show help"))
|
.subcommand(SubCommand::with_name("help").help("Show help"))
|
||||||
.help(helptext.as_str());
|
.after_help(helptext.as_str());
|
||||||
let rt = Runtime::new(app)
|
let rt = Runtime::new(app)
|
||||||
.unwrap_or_else(|e| {
|
.unwrap_or_else(|e| {
|
||||||
println!("Runtime couldn't be setup. Exiting");
|
println!("Runtime couldn't be setup. Exiting");
|
||||||
|
|
Loading…
Reference in a new issue