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:
Erin Call 2019-12-26 11:31:45 -08:00
parent 6d28b7b28a
commit 41e9e42239
No known key found for this signature in database
GPG key ID: 4071FF6C15B8DAD1

View file

@ -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)
}