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\