diff --git a/build.fsx b/build.fsx index eb261a5a..b768b643 100644 --- a/build.fsx +++ b/build.fsx @@ -127,8 +127,10 @@ Target "NBench" <| fun _ -> |> append (filename project) |> append "--output" |> append outputPerfTests - |> append "--concurrent true" - |> append "--trace true" + |> append "--concurrent" + |> append "true" + |> append "--trace" + |> append "true" |> append "--diagnostic" |> append "--no-build" |> toText diff --git a/src/NBench.Execution/CommandLine.cs b/src/NBench.Execution/CommandLine.cs index bf9a76f8..0ee442b4 100644 --- a/src/NBench.Execution/CommandLine.cs +++ b/src/NBench.Execution/CommandLine.cs @@ -166,21 +166,21 @@ public static string FormatCapturedArguments(bool includeOutput = true) string output = ""; if (HasProperty(TracingKey)) - output += $"{TracingKey}={GetSingle(TracingKey)} "; + output += $"{TracingKey} {GetSingle(TracingKey)} "; if (HasProperty(ConcurrentKey)) { - output += $"{ConcurrentKey}={GetSingle(ConcurrentKey)} "; + output += $"{ConcurrentKey} {GetSingle(ConcurrentKey)} "; } if (HasProperty(ExcludeKey)) { - output += $"{ExcludeKey}={string.Join(",", GetProperty(ExcludeKey))} "; + output += $"{ExcludeKey} {string.Join(",", GetProperty(ExcludeKey))} "; } if (HasProperty(IncludeKey)) { - output += $"{IncludeKey}={string.Join(",", GetProperty(IncludeKey))} "; + output += $"{IncludeKey} {string.Join(",", GetProperty(IncludeKey))} "; } if (HasProperty(ConfigurationKey)) @@ -190,7 +190,7 @@ public static string FormatCapturedArguments(bool includeOutput = true) if (HasProperty(OutputKey) && includeOutput) { - output += $"{OutputKey}={GetSingle(OutputKey)} "; + output += $"{OutputKey} {GetSingle(OutputKey)} "; } if (HasProperty(DiagnosticsKey))