aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/BuildCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/CommandLine/BuildCommand.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/BuildCommand.cs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/BuildCommand.cs b/src/WixToolset.Core/CommandLine/BuildCommand.cs
index 2216a80f..b687e07b 100644
--- a/src/WixToolset.Core/CommandLine/BuildCommand.cs
+++ b/src/WixToolset.Core/CommandLine/BuildCommand.cs
@@ -872,11 +872,11 @@ namespace WixToolset.Core.CommandLine
872 } 872 }
873 else if (Int32.TryParse(paramArg, out var elevateWarning) && elevateWarning > 0) 873 else if (Int32.TryParse(paramArg, out var elevateWarning) && elevateWarning > 0)
874 { 874 {
875 this.Messaging.SuppressWarningMessage(elevateWarning); 875 this.Messaging.ElevateWarningMessage(elevateWarning);
876 } 876 }
877 else 877 else
878 { 878 {
879 parser.ReportErrorArgument(parameter, ErrorMessages.IllegalSuppressWarningId(paramArg)); 879 parser.ReportErrorArgument(parameter, ErrorMessages.IllegalWarningIdAsError(paramArg));
880 } 880 }
881 } 881 }
882 } 882 }