summaryrefslogtreecommitdiffstats
path: root/imag-tag
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-06-08 14:11:13 +0200
committerMatthias Beyer <mail@beyermatthias.de>2016-06-08 14:11:13 +0200
commit807f734d383b2983ac6885c1cbd461ee2fea66e1 (patch)
treeaaf9e15759df8e9a42918ac0b0089f8b45d896d5 /imag-tag
parent0ca8f6bc0b7284f70062600934c18430ea9be0b6 (diff)
Add value_name() call in ui specification code
Diffstat (limited to 'imag-tag')
-rw-r--r--imag-tag/src/ui.rs8
1 files 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> {
)
}
-
-