diff options
author | Rob Mensching <rob@firegiant.com> | 2018-07-12 22:27:09 -0700 |
---|---|---|
committer | Rob Mensching <rob@firegiant.com> | 2018-07-12 22:38:12 -0700 |
commit | fc92b28f87599ac25d35399dc2df2f356a285960 (patch) | |
tree | 0a775850ec5b4ff580b949700b51f5eee3182325 /src/test/TestData/Example.Extension/ExamplePreprocessorExtensionAndCommandLine.cs | |
parent | 1a2d7994764060dc6f8936fab1c03e255f2671c5 (diff) | |
download | wix-fc92b28f87599ac25d35399dc2df2f356a285960.tar.gz wix-fc92b28f87599ac25d35399dc2df2f356a285960.tar.bz2 wix-fc92b28f87599ac25d35399dc2df2f356a285960.zip |
Refactor command line parsing to enable extensions there in light.exe
Fixes wixtoolset/issues#5845
Diffstat (limited to 'src/test/TestData/Example.Extension/ExamplePreprocessorExtensionAndCommandLine.cs')
-rw-r--r-- | src/test/TestData/Example.Extension/ExamplePreprocessorExtensionAndCommandLine.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/TestData/Example.Extension/ExamplePreprocessorExtensionAndCommandLine.cs b/src/test/TestData/Example.Extension/ExamplePreprocessorExtensionAndCommandLine.cs index 53394ea3..0d0771f3 100644 --- a/src/test/TestData/Example.Extension/ExamplePreprocessorExtensionAndCommandLine.cs +++ b/src/test/TestData/Example.Extension/ExamplePreprocessorExtensionAndCommandLine.cs | |||
@@ -26,7 +26,7 @@ namespace Example.Extension | |||
26 | { | 26 | { |
27 | if (parseCommandLine.IsSwitch(arg) && arg.Substring(1).Equals("example", StringComparison.OrdinalIgnoreCase)) | 27 | if (parseCommandLine.IsSwitch(arg) && arg.Substring(1).Equals("example", StringComparison.OrdinalIgnoreCase)) |
28 | { | 28 | { |
29 | parseCommandLine.GetNextArgumentOrError(ref this.exampleValueFromCommandLine); | 29 | this.exampleValueFromCommandLine = parseCommandLine.GetNextArgumentOrError(arg); |
30 | return true; | 30 | return true; |
31 | } | 31 | } |
32 | 32 | ||