From 807f734d383b2983ac6885c1cbd461ee2fea66e1 Mon Sep 17 00:00:00 2001 From: Matthias Beyer Date: Wed, 8 Jun 2016 14:11:13 +0200 Subject: [PATCH] Add value_name() call in ui specification code --- imag-tag/src/ui.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/imag-tag/src/ui.rs b/imag-tag/src/ui.rs index 32e3383c..1355344a 100644 --- a/imag-tag/src/ui.rs +++ b/imag-tag/src/ui.rs @@ -8,7 +8,8 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> { .short("i") .takes_value(true) .required(true) - .help("Use this entry")) + .help("Use this entry") + .value_name("ID")) .arg(tag_add_arg()) .arg(tag_remove_arg()) @@ -39,7 +40,8 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> { .short("s") .takes_value(true) .required(false) - .help("Seperated by string")) + .help("Separated by string") + .value_name("SEP")) .group(ArgGroup::with_name("list-group") .args(&[ @@ -52,5 +54,3 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> { ) } - -