fix(cmd/pastes): Print newline on raw output
This commit is contained in:
parent
f50f3f97f8
commit
685b156312
1 changed files with 1 additions and 1 deletions
|
@ -89,7 +89,7 @@ func GetPaste(c *cli.Context) error {
|
||||||
}
|
}
|
||||||
|
|
||||||
if rawOutput {
|
if rawOutput {
|
||||||
fmt.Print(response.Data.Content)
|
fmt.Println(response.Data.Content)
|
||||||
} else {
|
} else {
|
||||||
fmt.Printf("Content: %s\nCreated at: %s\n", response.Data.Content, response.Data.CreatedAt.Format("2006-01-02 15:04:05"))
|
fmt.Printf("Content: %s\nCreated at: %s\n", response.Data.Content, response.Data.CreatedAt.Format("2006-01-02 15:04:05"))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue