Skip to content

Commit 98ee033

Browse files
authored
Merge pull request #363 from gilramir/add-newline-to-unrecognized-command
One-line error messages from the compiler front end need new-line
2 parents f6a7a41 + 99991a2 commit 98ee033

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Main.gren

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -352,7 +352,7 @@ parseUserArgs model compilerPath =
352352
in
353353
when CLI.Parser.run model.args CliParser.parser is
354354
CLI.Parser.UnknownCommand commandName ->
355-
endWithErrorString ("I don't recognize this command: " ++ commandName)
355+
endWithErrorString ("I don't recognize this command: " ++ commandName ++ "\n")
356356
|> Task.perform RunCmd
357357

358358
CLI.Parser.BadFlags err ->

0 commit comments

Comments
 (0)