From 0c2308bd762ba44c0b8e57c421a6966d149aab5d Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 8 Jan 2018 16:55:07 +0100 Subject: [PATCH] Use App::after_help() for printing runtime-generated help output --- bin/core/imag/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/core/imag/src/main.rs b/bin/core/imag/src/main.rs index 0047f25a..5d9d1e86 100644 --- a/bin/core/imag/src/main.rs +++ b/bin/core/imag/src/main.rs @@ -137,7 +137,7 @@ fn main() { .multiple(false) .help("Get the versions of the imag commands")) .subcommand(SubCommand::with_name("help").help("Show help")) - .help(helptext.as_str()); + .after_help(helptext.as_str()); let rt = Runtime::new(app) .unwrap_or_else(|e| { println!("Runtime couldn't be setup. Exiting");