aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/CommandLine.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CommandLine.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/CommandLine.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/WixToolset.Core/CommandLine/CommandLine.cs b/src/WixToolset.Core/CommandLine/CommandLine.cs
index 5439eb39..0c21eaaa 100644
--- a/src/WixToolset.Core/CommandLine/CommandLine.cs
+++ b/src/WixToolset.Core/CommandLine/CommandLine.cs
@@ -97,19 +97,19 @@ namespace WixToolset.Core.CommandLine
97 { 97 {
98 if (!this.TryParseCommand(arg, parser, extensions, out command)) 98 if (!this.TryParseCommand(arg, parser, extensions, out command))
99 { 99 {
100 parser.ErrorArgument = arg; 100 parser.ReportErrorArgument(arg);
101 } 101 }
102 } 102 }
103 else if (parser.IsSwitch(arg)) 103 else if (parser.IsSwitch(arg))
104 { 104 {
105 if (!command.TryParseArgument(parser, arg) && !TryParseCommandLineArgumentWithExtension(arg, parser, extensions)) 105 if (!command.TryParseArgument(parser, arg) && !TryParseCommandLineArgumentWithExtension(arg, parser, extensions))
106 { 106 {
107 parser.ErrorArgument = arg; 107 parser.ReportErrorArgument(arg);
108 } 108 }
109 } 109 }
110 else if (!TryParseCommandLineArgumentWithExtension(arg, parser, extensions) && !command.TryParseArgument(parser, arg)) 110 else if (!TryParseCommandLineArgumentWithExtension(arg, parser, extensions) && !command.TryParseArgument(parser, arg))
111 { 111 {
112 parser.ErrorArgument = arg; 112 parser.ReportErrorArgument(arg);
113 } 113 }
114 } 114 }
115 115