diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-07-18 14:55:58 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-07-18 15:03:11 -0700 |
| commit | f4cefb9ac9a6911ee0a1ad035e6ee50b7f28e5c5 (patch) | |
| tree | 7f06847dfdb75b5dd7720be4b4459adaa1fbf519 /src/WixToolset.Core/CommandLine/CommandLine.cs | |
| parent | 6b21265e139513c1a242d8677b154fcc0e1dc7ef (diff) | |
| download | wix-f4cefb9ac9a6911ee0a1ad035e6ee50b7f28e5c5.tar.gz wix-f4cefb9ac9a6911ee0a1ad035e6ee50b7f28e5c5.tar.bz2 wix-f4cefb9ac9a6911ee0a1ad035e6ee50b7f28e5c5.zip | |
Display command-line help from Core and extensions
Closes wixtoolset/issues#6211
Diffstat (limited to 'src/WixToolset.Core/CommandLine/CommandLine.cs')
| -rw-r--r-- | src/WixToolset.Core/CommandLine/CommandLine.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/WixToolset.Core/CommandLine/CommandLine.cs b/src/WixToolset.Core/CommandLine/CommandLine.cs index 02bc32e9..5439eb39 100644 --- a/src/WixToolset.Core/CommandLine/CommandLine.cs +++ b/src/WixToolset.Core/CommandLine/CommandLine.cs | |||
| @@ -118,7 +118,7 @@ namespace WixToolset.Core.CommandLine | |||
| 118 | extension.PostParse(); | 118 | extension.PostParse(); |
| 119 | } | 119 | } |
| 120 | 120 | ||
| 121 | return command ?? new HelpCommand(); | 121 | return command ?? new HelpCommand(extensions); |
| 122 | } | 122 | } |
| 123 | 123 | ||
| 124 | private bool TryParseCommand(string arg, ICommandLineParser parser, IEnumerable<IExtensionCommandLine> extensions, out ICommandLineCommand command) | 124 | private bool TryParseCommand(string arg, ICommandLineParser parser, IEnumerable<IExtensionCommandLine> extensions, out ICommandLineCommand command) |
| @@ -134,7 +134,7 @@ namespace WixToolset.Core.CommandLine | |||
| 134 | case "h": | 134 | case "h": |
| 135 | case "help": | 135 | case "help": |
| 136 | case "-help": | 136 | case "-help": |
| 137 | command = new HelpCommand(); | 137 | command = new HelpCommand(extensions); |
| 138 | break; | 138 | break; |
| 139 | 139 | ||
| 140 | case "version": | 140 | case "version": |
