Tiny indentation fix

This commit is contained in:
Christopher Goes 2018-05-29 04:51:11 +02:00
parent f946b630a4
commit 5055a4af45
No known key found for this signature in database
GPG Key ID: E828D98232D328D3
1 changed files with 2 additions and 2 deletions

View File

@ -73,7 +73,7 @@ func printInfo(info keys.Info) {
ko := NewKeyOutput(info) ko := NewKeyOutput(info)
switch viper.Get(cli.OutputFlag) { switch viper.Get(cli.OutputFlag) {
case "text": case "text":
fmt.Printf("NAME:\tADDRESS:\t\t\t\t\tPUBKEY:\n") fmt.Printf("NAME:\tADDRESS:\t\t\t\t\t\tPUBKEY:\n")
printKeyOutput(ko) printKeyOutput(ko)
case "json": case "json":
out, err := json.MarshalIndent(ko, "", "\t") out, err := json.MarshalIndent(ko, "", "\t")
@ -88,7 +88,7 @@ func printInfos(infos []keys.Info) {
kos := NewKeyOutputs(infos) kos := NewKeyOutputs(infos)
switch viper.Get(cli.OutputFlag) { switch viper.Get(cli.OutputFlag) {
case "text": case "text":
fmt.Printf("NAME:\tADDRESS:\t\t\t\t\tPUBKEY:\n") fmt.Printf("NAME:\tADDRESS:\t\t\t\t\t\tPUBKEY:\n")
for _, ko := range kos { for _, ko := range kos {
printKeyOutput(ko) printKeyOutput(ko)
} }