Clean up --output help (#9941)

automerge
This commit is contained in:
Greg Fitzgerald 2020-05-08 13:27:56 -06:00 committed by GitHub
parent 00e45ec935
commit 57a9996921
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 1 deletions

View File

@ -210,10 +210,11 @@ fn main() -> Result<(), Box<dyn error::Error>> {
.arg(
Arg::with_name("output_format")
.long("output")
.value_name("FORMAT")
.global(true)
.takes_value(true)
.possible_values(&["json", "json-compact"])
.help("Return information in specified output format. Supports: json, json-compact"),
.help("Return information in specified output format"),
)
.arg(
Arg::with_name(SKIP_SEED_PHRASE_VALIDATION_ARG.name)