summary refs log tree commit diff stats
path: root/compiler/pas2nim/pas2nim.nim
diff options
context:
space:
mode:
Diffstat (limited to 'compiler/pas2nim/pas2nim.nim')
-rwxr-xr-xcompiler/pas2nim/pas2nim.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/pas2nim/pas2nim.nim b/compiler/pas2nim/pas2nim.nim
index 11aa53f20..4102c33cd 100755
--- a/compiler/pas2nim/pas2nim.nim
+++ b/compiler/pas2nim/pas2nim.nim
@@ -52,7 +52,7 @@ for kind, key, val in getopt():
     of "o", "out": outfile = val
     of "ref": incl(flags, pfRefs)
     of "boot": flags = flags + {pfRefs, pfMoreReplacements, pfImportBlackList}
-    else: stdout.write("[Error] unknown option: " & key)
+    else: stdout.writeln("[Error] unknown option: " & key)
   of cmdEnd: assert(false)
 if infile.len == 0:
   # no filename has been given, so we show the help: