Skip to content

Commit

Permalink
feat: update logging messages
Browse files Browse the repository at this point in the history
  • Loading branch information
mehditeymorian committed Sep 3, 2022
1 parent f5872d7 commit 4752125
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/cmd/key/key.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,5 @@ func SaveKey(filename string, content []byte) {

file.Write(content)

pterm.Success.Printf("key stored in %s/$s\n", dir, filename)
pterm.Success.Printf("key stored in %s/%s\n", dir, filename)
}
2 changes: 1 addition & 1 deletion internal/cmd/set/set.go
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ func set(c *cobra.Command, args []string) {
}
setEcdsa(cfg, keys[1], args)
default:
pterm.Fatal.Println("field %s not found")
pterm.Fatal.Printf("field %s not found\n", args[0])
}

pterm.Success.Printf("field %s set to %s\n", args[0], args[1])
Expand Down

0 comments on commit 4752125

Please sign in to comment.