Add value_name() call in ui specification code
This commit is contained in:
parent
0ca8f6bc0b
commit
807f734d38
1 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,8 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
||||||
.short("i")
|
.short("i")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.required(true)
|
.required(true)
|
||||||
.help("Use this entry"))
|
.help("Use this entry")
|
||||||
|
.value_name("ID"))
|
||||||
|
|
||||||
.arg(tag_add_arg())
|
.arg(tag_add_arg())
|
||||||
.arg(tag_remove_arg())
|
.arg(tag_remove_arg())
|
||||||
|
@ -39,7 +40,8 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
||||||
.short("s")
|
.short("s")
|
||||||
.takes_value(true)
|
.takes_value(true)
|
||||||
.required(false)
|
.required(false)
|
||||||
.help("Seperated by string"))
|
.help("Separated by string")
|
||||||
|
.value_name("SEP"))
|
||||||
|
|
||||||
.group(ArgGroup::with_name("list-group")
|
.group(ArgGroup::with_name("list-group")
|
||||||
.args(&[
|
.args(&[
|
||||||
|
@ -52,5 +54,3 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
||||||
)
|
)
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue