mirror of
https://github.com/clap-rs/clap
synced 2024-12-13 14:22:34 +00:00
fix(derive): Allow subcommands with re-exporting
Our approach to re-exporting is to not fully qualify symbols in `clap`. This is a place where a leading `::` got introduced, so its being removed.
This commit is contained in:
parent
92fea91dfe
commit
345694fea8
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
});
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue