mirror of
https://github.com/rust-lang/mdBook
synced 2024-12-14 14:52:37 +00:00
Add colored help
This commit is contained in:
parent
1052ee92e1
commit
7e52da3c1b
1 changed files with 1 additions and 0 deletions
|
@ -33,6 +33,7 @@ fn main() {
|
|||
.version(VERSION)
|
||||
.setting(AppSettings::GlobalVersion)
|
||||
.setting(AppSettings::ArgRequiredElseHelp)
|
||||
.setting(AppSettings::ColoredHelp)
|
||||
.after_help(
|
||||
"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",
|
||||
|
|
Loading…
Reference in a new issue