diff --git a/imag-link/src/ui.rs b/imag-link/src/ui.rs index 474d793d..8b8ec03b 100644 --- a/imag-link/src/ui.rs +++ b/imag-link/src/ui.rs @@ -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")