refactor: Move from deprecated GlobalVersion
This commit is contained in:
parent
0c89293029
commit
1e1c99bbdb
|
@ -66,7 +66,7 @@ fn create_clap_app() -> App<'static> {
|
|||
.about(crate_description!())
|
||||
.author("Mathieu David <mathieudavid@mathieudavid.org>")
|
||||
.version(VERSION)
|
||||
.setting(AppSettings::GlobalVersion)
|
||||
.setting(AppSettings::PropagateVersion)
|
||||
.setting(AppSettings::ArgRequiredElseHelp)
|
||||
.after_help(
|
||||
"For more information about a specific command, try `mdbook <command> --help`\n\
|
||||
|
|
Loading…
Reference in New Issue