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")) .help("Remove links to these entries"))
) )
.arg(Arg::with_name("list") .arg(Arg::with_name("list")
.long("list") .long("list")
.short("l") .short("l")
.takes_value(false) .takes_value(true)
.required(false) .required(false)
.help("List links to this entry")) .help("List links to this entry"))
) )
.subcommand(SubCommand::with_name("external") .subcommand(SubCommand::with_name("external")
.about("Add and remove external links") .about("Add and remove external links")