diff options
| author | Rob Mensching <rob@firegiant.com> | 2021-01-08 14:32:36 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2021-01-08 15:53:40 -0800 |
| commit | 0f51c342c84d291fcb1c7cbde3a1613edbda300a (patch) | |
| tree | e4d1e7449d00670ff927619d1b0ab0ad18a78939 /src | |
| parent | 6bc164316666addde26feeec2d521b797de50dbb (diff) | |
| download | wix-0f51c342c84d291fcb1c7cbde3a1613edbda300a.tar.gz wix-0f51c342c84d291fcb1c7cbde3a1613edbda300a.tar.bz2 wix-0f51c342c84d291fcb1c7cbde3a1613edbda300a.zip | |
Report invalid command line arguments as errors
Also fixes wixtoolset/issues#6313
Diffstat (limited to 'src')
| -rw-r--r-- | src/WixToolset.Converters/FixupCommandBase.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/WixToolset.Converters/FixupCommandBase.cs b/src/WixToolset.Converters/FixupCommandBase.cs index 51256f5c..7ecce543 100644 --- a/src/WixToolset.Converters/FixupCommandBase.cs +++ b/src/WixToolset.Converters/FixupCommandBase.cs | |||
| @@ -104,7 +104,7 @@ namespace WixToolset.Converters | |||
| 104 | } | 104 | } |
| 105 | catch | 105 | catch |
| 106 | { | 106 | { |
| 107 | parser.ErrorArgument = parameter; // $"Invalid numeric argument: {parameter}"; | 107 | parser.ReportErrorArgument(parameter); // $"Invalid numeric argument: {parameter}"; |
| 108 | } | 108 | } |
| 109 | return true; | 109 | return true; |
| 110 | } | 110 | } |
