diff --git a/clap_derive/src/derives/subcommand.rs b/clap_derive/src/derives/subcommand.rs index 47c79562..75936733 100644 --- a/clap_derive/src/derives/subcommand.rs +++ b/clap_derive/src/derives/subcommand.rs @@ -231,7 +231,7 @@ fn gen_augment( let #subcommand_var = clap::App::new(#name); let #subcommand_var = #subcommand_var #initial_app_methods; let #subcommand_var = #arg_block; - let #subcommand_var = #subcommand_var.setting(::clap::AppSettings::SubcommandRequiredElseHelp); + let #subcommand_var = #subcommand_var.setting(clap::AppSettings::SubcommandRequiredElseHelp); #subcommand_var #final_from_attrs }); };