summary refs log tree commit diff stats
path: root/nim/parseopt.pas
diff options
context:
space:
mode:
Diffstat (limited to 'nim/parseopt.pas')
-rw-r--r--nim/parseopt.pas2
1 files changed, 1 insertions, 1 deletions
diff --git a/nim/parseopt.pas b/nim/parseopt.pas
index d543b998e..0ca87bd37 100644
--- a/nim/parseopt.pas
+++ b/nim/parseopt.pas
@@ -51,7 +51,7 @@ begin
   else begin
     result.cmd := '';
     for i := 1 to ParamCount() do
-      result.cmd := result.cmd +{&} quoteIfSpaceExists(paramStr(i)) +{&} ' ';
+      result.cmd := result.cmd +{&} quoteIfContainsWhite(paramStr(i)) +{&} ' ';
   {@ignore}
     result.cmd := result.cmd + #0;
   {@emit}