Merge PR #3840: Modify magic string "json" to OutputFormatJSON

This commit is contained in:
Frank Yang
2019-03-09 13:00:08 -08:00
committed by Jack Zampolin
parent 6142f90612
commit 4e38c79b2d
+1 -1
View File
@@ -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)