From e658e61c9e9bab75d76da7300ea469c7ce8152cf Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Mon, 5 Dec 2016 15:07:26 +0100 Subject: [PATCH] Fix: We need an argument here --- imag-link/src/ui.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/imag-link/src/ui.rs b/imag-link/src/ui.rs index 4edb6bd1..5c3c3ef1 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")