Merge PR #3840: Modify magic string "json" to OutputFormatJSON
This commit is contained in:
parent
6142f90612
commit
4e38c79b2d
|
@ -118,7 +118,7 @@ func printKeyInfo(keyInfo keys.Info, bechKeyOut bechKeyOutFn) {
|
|||
printKeyTextHeader()
|
||||
printKeyOutput(ko)
|
||||
|
||||
case "json":
|
||||
case OutputFormatJSON:
|
||||
out, err := MarshalJSON(ko)
|
||||
if err != nil {
|
||||
panic(err)
|
||||
|
|
Loading…
Reference in New Issue