aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/DecompileCommand.cs
diff options
context:
space:
mode:
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 }