aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/CommandLineParser.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2017-12-27 22:58:19 -0800
committerRob Mensching <rob@firegiant.com>2017-12-27 22:58:19 -0800
commit58b8be53fd966e3d475362912477a422f5b5aa11 (patch)
treed6bb3edd0d4e7344777de802b32151f35987884a /src/WixToolset.Core/CommandLine/CommandLineParser.cs
parentfe7112d862cab6ba28ee40e5539de8e297e0bbf2 (diff)
downloadwix-58b8be53fd966e3d475362912477a422f5b5aa11.tar.gz
wix-58b8be53fd966e3d475362912477a422f5b5aa11.tar.bz2
wix-58b8be53fd966e3d475362912477a422f5b5aa11.zip
Correctly join command line arguments and other small clean up and optimizations
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CommandLineParser.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/CommandLineParser.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Core/CommandLine/CommandLineParser.cs b/src/WixToolset.Core/CommandLine/CommandLineParser.cs
index 017810e0..3c7f3d1e 100644
--- a/src/WixToolset.Core/CommandLine/CommandLineParser.cs
+++ b/src/WixToolset.Core/CommandLine/CommandLineParser.cs
@@ -54,7 +54,7 @@ namespace WixToolset.Core.CommandLine
54 54
55 if (!String.IsNullOrEmpty(context.Arguments)) 55 if (!String.IsNullOrEmpty(context.Arguments))
56 { 56 {
57 args = CommandLineParser.ParseArgumentsToArray(context.Arguments).Union(args).ToArray(); 57 args = CommandLineParser.ParseArgumentsToArray(context.Arguments).Concat(args).ToArray();
58 } 58 }
59 59
60 return this.ParseStandardCommandLine(context, args); 60 return this.ParseStandardCommandLine(context, args);