summary refs log tree commit diff stats
path: root/testament/testament.nim
diff options
context:
space:
mode:
Diffstat (limited to 'testament/testament.nim')
-rw-r--r--testament/testament.nim3
1 files changed, 2 insertions, 1 deletions
diff --git a/testament/testament.nim b/testament/testament.nim
index 58c4e5196..83446336c 100644
--- a/testament/testament.nim
+++ b/testament/testament.nim
@@ -693,7 +693,8 @@ proc main() =
       myself &= " " & quoteShell("--targets:" & targetsStr)
 
     myself &= " " & quoteShell("--nim:" & compilerPrefix)
-    myself &= " --batch:" & testamentData0.batchArg
+    if testamentData0.batchArg.len > 0:
+      myself &= " --batch:" & testamentData0.batchArg
 
     if skipFrom.len > 0:
       myself &= " " & quoteShell("--skipFrom:" & skipFrom)