diff options
| author | Shulhan <ms@kilabit.info> | 2023-12-06 21:26:55 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2023-12-06 23:42:08 +0700 |
| commit | 59c446cd36a4b59365f1144eb612d2484c64d4b9 (patch) | |
| tree | fc228c87a5a4c38722386196ec295d0e8b4a4e6d | |
| parent | 48fcae00baa539a13166335e0b003562bb5f6eb6 (diff) | |
| download | awwan-59c446cd36a4b59365f1144eb612d2484c64d4b9.tar.xz | |
cmd/awwan: add line feed to all [fmt.Printf] string
This is to allow the output of command break into new line.
| -rw-r--r-- | cmd/awwan/main.go | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/awwan/main.go b/cmd/awwan/main.go index fc9f994..c4e525b 100644 --- a/cmd/awwan/main.go +++ b/cmd/awwan/main.go @@ -207,7 +207,7 @@ func main() { if err != nil { log.Fatalf(`%s: %s`, logp, err) } - fmt.Printf(`Decrypted file output: %s`, filePlain) + fmt.Printf("Decrypted file output: %s\n", filePlain) return case awwan.CommandModeEncrypt: @@ -217,7 +217,7 @@ func main() { if err != nil { log.Fatalf(`%s: %s`, logp, err) } - fmt.Printf(`Encrypted file output: %s`, fileVault) + fmt.Printf("Encrypted file output: %s\n", fileVault) return case awwan.CommandModeEnvGet: |
