The --list argument takes a value, actually. The StoreIDs!

This commit is contained in:
Matthias Beyer 2016-04-12 21:12:27 +02:00
parent 535483d460
commit 3719bf8ae9

View file

@ -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")