Adapt interface for external linking

This commit is contained in:
Matthias Beyer 2016-04-12 16:50:10 +02:00
parent e4e3c05f05
commit f0c6ac7630

View file

@ -59,26 +59,33 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
.required(true)
.help("Modify external link of this entry"))
.arg(Arg::with_name("set")
.long("set")
.short("s")
.arg(Arg::with_name("add")
.long("add")
.short("a")
.takes_value(true)
.required(false)
.help("Set this URI as external link"))
.help("Add this URI as external link"))
.arg(Arg::with_name("remove")
.long("remove")
.short("r")
.takes_value(false)
.required(false)
.help("Remove external link"))
.help("Remove one external link"))
.arg(Arg::with_name("set")
.long("set")
.short("s")
.takes_value(true)
.required(false)
.help("Set these URIs as external link (seperate by comma)"))
.arg(Arg::with_name("list")
.long("list")
.short("l")
.takes_value(false)
.required(false)
.help("List external link"))
.help("List external links"))
)
}