mirror of
https://github.com/clap-rs/clap
synced 2024-12-14 23:02:31 +00:00
commit
a9bd06945a
1 changed files with 2 additions and 3 deletions
|
@ -1082,10 +1082,9 @@ impl<'help, 'app> Parser<'help, 'app> {
|
|||
}
|
||||
}
|
||||
}
|
||||
let name = sc.name.clone();
|
||||
matcher.subcommand(SubCommand {
|
||||
id: Id::from_ref(&name), // @TODO @maybe: should be sc.id?
|
||||
name,
|
||||
id: sc.id.clone(),
|
||||
name: sc.name.clone(),
|
||||
matches: sc_matcher.into_inner(),
|
||||
});
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue