diff options
-rw-r--r-- | compiler/commands.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/commands.nim b/compiler/commands.nim index 1f46abca4..abee4e9b2 100644 --- a/compiler/commands.nim +++ b/compiler/commands.nim @@ -388,7 +388,7 @@ proc processSwitch*(switch, arg: string, pass: TCmdLinePass, info: TLineInfo; of "out", "o": expectArg(conf, switch, arg, pass, info) let f = splitFile(arg.expandTilde) - conf.outFile = RelativeFile f.name + conf.outFile = RelativeFile f.name & f.ext conf.outDir = toAbsoluteDir f.dir of "outdir": expectArg(conf, switch, arg, pass, info) |