Emit a trailing newline on execution error [#15]
Just something I noticed while testing the help command's error case.
This commit is contained in:
parent
6d28b7b28a
commit
41e9e42239
|
@ -28,7 +28,7 @@ func main() {
|
|||
|
||||
// Expect the plan to go off the rails
|
||||
if err != nil {
|
||||
fmt.Fprintf(os.Stderr, err.Error())
|
||||
fmt.Fprintf(os.Stderr, "%s\n", err.Error())
|
||||
// Throw away the plan
|
||||
os.Exit(1)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue