fix(build/app): don't use long help for print_help()

For long help, there's still `print_long_help()`.
This commit is contained in:
Cole Helbling 2020-05-01 07:55:29 -07:00
parent 087fab2ab3
commit 2bc057eaa5
No known key found for this signature in database
GPG key ID: B37E0F2371016A4C

View file

@ -1116,7 +1116,7 @@ impl<'b> App<'b> {
let p = Parser::new(self);
let mut c = Colorizer::new(false, p.color_help());
Help::new(HelpWriter::Buffer(&mut c), &p, true).write_help()?;
Help::new(HelpWriter::Buffer(&mut c), &p, false).write_help()?;
Ok(c.print()?)
}