Skip to content

Commit

Permalink
fixed the formatting of the parameters on their way into the NBench e…
Browse files Browse the repository at this point in the history
…xecutable
  • Loading branch information
Aaronontheweb committed Jul 24, 2018
1 parent c3a6191 commit 905454c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/NBench.Execution/CommandLine.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand All @@ -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))
Expand Down

0 comments on commit 905454c

Please # to comment.