aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Converters/FixupCommandBase.cs
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/WixToolset.Converters/FixupCommandBase.cs18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/WixToolset.Converters/FixupCommandBase.cs b/src/WixToolset.Converters/FixupCommandBase.cs
index 7ecce543..21282d07 100644
--- a/src/WixToolset.Converters/FixupCommandBase.cs
+++ b/src/WixToolset.Converters/FixupCommandBase.cs
@@ -29,6 +29,8 @@ namespace WixToolset.Converters
29 29
30 protected bool ShowHelp { get; set; } 30 protected bool ShowHelp { get; set; }
31 31
32 protected CustomTableTarget CustomTableSetting { get; set; }
33
32 protected bool DryRun { get; set; } 34 protected bool DryRun { get; set; }
33 35
34 protected HashSet<string> ErrorsAsWarnings { get; } 36 protected HashSet<string> ErrorsAsWarnings { get; }
@@ -68,6 +70,22 @@ namespace WixToolset.Converters
68 this.StopParsing = true; 70 this.StopParsing = true;
69 return true; 71 return true;
70 72
73 case "-custom-table":
74 var customTableSetting = parser.GetNextArgumentOrError(argument);
75 switch (customTableSetting)
76 {
77 case "bundle":
78 this.CustomTableSetting = CustomTableTarget.Bundle;
79 break;
80 case "msi":
81 this.CustomTableSetting = CustomTableTarget.Msi;
82 break;
83 default:
84 parser.ReportErrorArgument(argument);
85 break;
86 }
87 return true;
88
71 case "n": 89 case "n":
72 case "-dry-run": 90 case "-dry-run":
73 this.DryRun = true; 91 this.DryRun = true;