refactor: Move from deprecated GlobalVersion

This commit is contained in:
Ed Page 2022-01-18 16:20:37 -06:00
parent 0c89293029
commit 1e1c99bbdb
1 changed files with 1 additions and 1 deletions

View File

@ -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\