Fix panic on unwrap()
Surprisingly, the ArgGroup feature of clap (which was applied in a wrong way here anyways) caused the "name" Arg to be inaccessible. I don't know why, but that's it. Removing the group fixes the issue.
This commit is contained in:
parent
67d536fa74
commit
fb95c09134
1 changed files with 0 additions and 3 deletions
|
@ -46,9 +46,6 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
||||||
.value_name("NAME"))
|
.value_name("NAME"))
|
||||||
|
|
||||||
.arg(tag_argument())
|
.arg(tag_argument())
|
||||||
.group(ArgGroup::with_name("editargs")
|
|
||||||
.args(&[tag_argument_name(), "name"])
|
|
||||||
.required(true))
|
|
||||||
)
|
)
|
||||||
|
|
||||||
.subcommand(SubCommand::with_name("list")
|
.subcommand(SubCommand::with_name("list")
|
||||||
|
|
Loading…
Reference in a new issue