From 1e1c99bbdbe3363edc299bde4d280e13cb54b432 Mon Sep 17 00:00:00 2001 From: Ed Page Date: Tue, 18 Jan 2022 16:20:37 -0600 Subject: [PATCH] refactor: Move from deprecated GlobalVersion --- src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.rs b/src/main.rs index 80996149..35562e64 100644 --- a/src/main.rs +++ b/src/main.rs @@ -66,7 +66,7 @@ fn create_clap_app() -> App<'static> { .about(crate_description!()) .author("Mathieu David ") .version(VERSION) - .setting(AppSettings::GlobalVersion) + .setting(AppSettings::PropagateVersion) .setting(AppSettings::ArgRequiredElseHelp) .after_help( "For more information about a specific command, try `mdbook --help`\n\