The --list argument takes a value, actually. The StoreIDs!
This commit is contained in:
parent
535483d460
commit
3719bf8ae9
1 changed files with 6 additions and 6 deletions
|
@ -41,12 +41,12 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
|||
.help("Remove links to these entries"))
|
||||
)
|
||||
|
||||
.arg(Arg::with_name("list")
|
||||
.long("list")
|
||||
.short("l")
|
||||
.takes_value(false)
|
||||
.required(false)
|
||||
.help("List links to this entry"))
|
||||
.arg(Arg::with_name("list")
|
||||
.long("list")
|
||||
.short("l")
|
||||
.takes_value(true)
|
||||
.required(false)
|
||||
.help("List links to this entry"))
|
||||
)
|
||||
.subcommand(SubCommand::with_name("external")
|
||||
.about("Add and remove external links")
|
||||
|
|
Loading…
Reference in a new issue