aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/DecompileCommand.cs
diff options
context:
space:
mode:
authorSean Hall <r.sean.hall@gmail.com>2021-01-27 16:48:15 -0600
committerSean Hall <r.sean.hall@gmail.com>2021-01-27 20:45:17 -0600
commit8eed3c02afb5883bc4e3bb45ab1f9b6da5a65476 (patch)
treefff2e241d7b545cde78458f4c819339dc2233091 /src/WixToolset.Core/CommandLine/DecompileCommand.cs
parent3eaa6fa0d239a82c6d3471127a99d2f94009c434 (diff)
downloadwix-8eed3c02afb5883bc4e3bb45ab1f9b6da5a65476.tar.gz
wix-8eed3c02afb5883bc4e3bb45ab1f9b6da5a65476.tar.bz2
wix-8eed3c02afb5883bc4e3bb45ab1f9b6da5a65476.zip
Fix copy/paste error with ParseWarningAsError.
Diffstat (limited to 'src/WixToolset.Core/CommandLine/DecompileCommand.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/DecompileCommand.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/DecompileCommand.cs b/src/WixToolset.Core/CommandLine/DecompileCommand.cs
index 06402a13..53d0c309 100644
--- a/src/WixToolset.Core/CommandLine/DecompileCommand.cs
+++ b/src/WixToolset.Core/CommandLine/DecompileCommand.cs
@@ -244,11 +244,11 @@ namespace WixToolset.Core.CommandLine
244 } 244 }
245 else if (Int32.TryParse(paramArg, out var elevateWarning) && elevateWarning > 0) 245 else if (Int32.TryParse(paramArg, out var elevateWarning) && elevateWarning > 0)
246 { 246 {
247 this.Messaging.SuppressWarningMessage(elevateWarning); 247 this.Messaging.ElevateWarningMessage(elevateWarning);
248 } 248 }
249 else 249 else
250 { 250 {
251 parser.ReportErrorArgument(parameter, ErrorMessages.IllegalSuppressWarningId(paramArg)); 251 parser.ReportErrorArgument(parameter, ErrorMessages.IllegalWarningIdAsError(paramArg));
252 } 252 }
253 } 253 }
254 } 254 }