Add colored help

This commit is contained in:
k-nasa 2018-12-25 21:35:37 +09:00
parent 1052ee92e1
commit 7e52da3c1b
1 changed files with 1 additions and 0 deletions

View File

@ -33,6 +33,7 @@ fn main() {
.version(VERSION) .version(VERSION)
.setting(AppSettings::GlobalVersion) .setting(AppSettings::GlobalVersion)
.setting(AppSettings::ArgRequiredElseHelp) .setting(AppSettings::ArgRequiredElseHelp)
.setting(AppSettings::ColoredHelp)
.after_help( .after_help(
"For more information about a specific command, try `mdbook <command> --help`\n\ "For more information about a specific command, try `mdbook <command> --help`\n\
The source code for mdBook is available at: https://github.com/rust-lang-nursery/mdBook", The source code for mdBook is available at: https://github.com/rust-lang-nursery/mdBook",