summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-12-06 10:07:12 +0100
committerGitHub <noreply@github.com>2016-12-06 10:07:12 +0100
commit23a80ee47f279fa1f5cd70ffab81e82629322dc8 (patch)
tree1bbacd8960369f4bd08aa401240ed4a02e44a9c0
parent9375c71292e8ec57bb6c970992f9f3aa33d54786 (diff)
parente658e61c9e9bab75d76da7300ea469c7ce8152cf (diff)
downloadimag-23a80ee47f279fa1f5cd70ffab81e82629322dc8.zip
imag-23a80ee47f279fa1f5cd70ffab81e82629322dc8.tar.gz
Merge pull request #843 from matthiasbeyer/imag-link/external-link-remove-arg
Fix: We need an argument here
-rw-r--r--imag-link/src/ui.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/imag-link/src/ui.rs b/imag-link/src/ui.rs
index 4edb6bd..5c3c3ef 100644
--- a/imag-link/src/ui.rs
+++ b/imag-link/src/ui.rs
@@ -95,8 +95,8 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
.arg(Arg::with_name("remove")
.long("remove")
.short("r")
- .takes_value(false)
- .required(false)
+ .takes_value(true)
+ .required(true)
.help("Remove one external link"))
.arg(Arg::with_name("set")