summary refs log tree commit diff stats
path: root/compiler/c2nim/c2nim.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/c2nim/c2nim.nim')
-rwxr-xr-xcompiler/c2nim/c2nim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/c2nim/c2nim.nim b/compiler/c2nim/c2nim.nim
index 0e39f5976..6d7a0d6c1 100755
--- a/compiler/c2nim/c2nim.nim
+++ b/compiler/c2nim/c2nim.nim
@@ -64,7 +64,7 @@ for kind, key, val in getopt():
     of "o", "out": outfile = val
     else:
       if not parserOptions.setOption(key, val):
-        stdout.write("[Error] unknown option: " & key)
+        stdout.writeln("[Error] unknown option: " & key)
   of cmdEnd: assert(false)
 if infile.len == 0:
   # no filename has been given, so we show the help: