diff options
Diffstat (limited to 'src/WixToolset.Core/CommandLine/HelpCommand.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/HelpCommand.cs | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/HelpCommand.cs b/src/WixToolset.Core/CommandLine/HelpCommand.cs index 3af442aa..6a5ac183 100644 --- a/src/WixToolset.Core/CommandLine/HelpCommand.cs +++ b/src/WixToolset.Core/CommandLine/HelpCommand.cs | |||
| @@ -19,9 +19,10 @@ namespace WixToolset.Core.CommandLine | |||
| 19 | new ExtensionCommandLineSwitch { Switch = "decompile", Description = "Decompile a package or bundle into source code." }, | 19 | new ExtensionCommandLineSwitch { Switch = "decompile", Description = "Decompile a package or bundle into source code." }, |
| 20 | }; | 20 | }; |
| 21 | 21 | ||
| 22 | public HelpCommand(IEnumerable<IExtensionCommandLine> extensions) | 22 | public HelpCommand(IEnumerable<IExtensionCommandLine> extensions, IWixBranding branding) |
| 23 | { | 23 | { |
| 24 | this.Extensions = extensions; | 24 | this.Extensions = extensions; |
| 25 | this.Branding = branding; | ||
| 25 | } | 26 | } |
| 26 | 27 | ||
| 27 | public bool ShowLogo => true; | 28 | public bool ShowLogo => true; |
| @@ -30,6 +31,8 @@ namespace WixToolset.Core.CommandLine | |||
| 30 | 31 | ||
| 31 | private IEnumerable<IExtensionCommandLine> Extensions { get; } | 32 | private IEnumerable<IExtensionCommandLine> Extensions { get; } |
| 32 | 33 | ||
| 34 | private IWixBranding Branding { get; } | ||
| 35 | |||
| 33 | public Task<int> ExecuteAsync(CancellationToken _) | 36 | public Task<int> ExecuteAsync(CancellationToken _) |
| 34 | { | 37 | { |
| 35 | var commandLineSwitches = new List<ExtensionCommandLineSwitch>(BuiltInSwitches); | 38 | var commandLineSwitches = new List<ExtensionCommandLineSwitch>(BuiltInSwitches); |
| @@ -52,7 +55,8 @@ namespace WixToolset.Core.CommandLine | |||
| 52 | 55 | ||
| 53 | Console.WriteLine(); | 56 | Console.WriteLine(); |
| 54 | Console.WriteLine("Run 'wix [command] --help' for more information on a command."); | 57 | Console.WriteLine("Run 'wix [command] --help' for more information on a command."); |
| 55 | AppCommon.DisplayToolFooter(); | 58 | Console.WriteLine(); |
| 59 | Console.WriteLine(this.Branding.ReplacePlaceholders("For more information see: [SupportUrl]")); | ||
| 56 | 60 | ||
| 57 | return Task.FromResult(-1); | 61 | return Task.FromResult(-1); |
| 58 | } | 62 | } |
