Add colored help
This commit is contained in:
parent
1052ee92e1
commit
7e52da3c1b
|
@ -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",
|
||||||
|
|
Loading…
Reference in New Issue