aboutsummaryrefslogtreecommitdiff
path: root/src/WixToolset.Core/CommandLine/HelpCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/WixToolset.Core/CommandLine/HelpCommand.cs')
-rw-r--r--src/WixToolset.Core/CommandLine/HelpCommand.cs22
1 files changed, 9 insertions, 13 deletions
diff --git a/src/WixToolset.Core/CommandLine/HelpCommand.cs b/src/WixToolset.Core/CommandLine/HelpCommand.cs
index b1298e46..224b154c 100644
--- a/src/WixToolset.Core/CommandLine/HelpCommand.cs
+++ b/src/WixToolset.Core/CommandLine/HelpCommand.cs
@@ -4,28 +4,24 @@ namespace WixToolset.Core.CommandLine
4{ 4{
5 using System; 5 using System;
6 using WixToolset.Extensibility.Data; 6 using WixToolset.Extensibility.Data;
7 using WixToolset.Extensibility.Services;
7 8
8 internal class HelpCommand : ICommandLineCommand 9 internal class HelpCommand : ICommandLineCommand
9 { 10 {
10 public HelpCommand(Commands command) 11 public bool ShowLogo => true;
11 {
12 this.Command = command;
13 }
14 12
15 public Commands Command { get; } 13 public bool StopParsing => true;
16 14
17 public int Execute() 15 public int Execute()
18 { 16 {
19 if (this.Command == Commands.Unknown) 17 Console.WriteLine("TODO: Show list of available commands");
20 {
21 Console.WriteLine();
22 }
23 else
24 {
25 Console.WriteLine();
26 }
27 18
28 return -1; 19 return -1;
29 } 20 }
21
22 public bool TryParseArgument(ICommandLineParser parseHelper, string argument)
23 {
24 return true; // eat any arguments
25 }
30 } 26 }
31} 27}