From f4cefb9ac9a6911ee0a1ad035e6ee50b7f28e5c5 Mon Sep 17 00:00:00 2001 From: Rob Mensching Date: Sat, 18 Jul 2020 14:55:58 -0700 Subject: Display command-line help from Core and extensions Closes wixtoolset/issues#6211 --- src/WixToolset.Core/CommandLine/CommandLine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/WixToolset.Core/CommandLine/CommandLine.cs') 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 extension.PostParse(); } - return command ?? new HelpCommand(); + return command ?? new HelpCommand(extensions); } private bool TryParseCommand(string arg, ICommandLineParser parser, IEnumerable extensions, out ICommandLineCommand command) @@ -134,7 +134,7 @@ namespace WixToolset.Core.CommandLine case "h": case "help": case "-help": - command = new HelpCommand(); + command = new HelpCommand(extensions); break; case "version": -- cgit v1.2.3-55-g6feb