Merge pull request #1375 from matthiasbeyer/imag-contact/find-format
imag-contact: Add format argument
This commit is contained in:
commit
2cee4ba90f
1 changed files with 12 additions and 0 deletions
|
@ -114,6 +114,18 @@ pub fn build_ui<'a>(app: App<'a, 'a>) -> App<'a, 'a> {
|
|||
.required(false)
|
||||
.multiple(false)
|
||||
.help("Print output as JSON")
|
||||
.conflicts_with("format")
|
||||
.conflicts_with("find-show")
|
||||
.conflicts_with("find-list"))
|
||||
|
||||
.arg(Arg::with_name("format")
|
||||
.long("format")
|
||||
.takes_value(true)
|
||||
.required(false)
|
||||
.multiple(false)
|
||||
.value_name("FORMAT")
|
||||
.help("Format to format the contact when printing it")
|
||||
.conflicts_with("json")
|
||||
.conflicts_with("find-show")
|
||||
.conflicts_with("find-list"))
|
||||
|
||||
|
|
Loading…
Reference in a new issue