aboutsummaryrefslogtreecommitdiff
path: root/src/wixcop/CommandLine/HelpCommand.cs
diff options
context:
space:
mode:
Diffstat (limited to 'src/wixcop/CommandLine/HelpCommand.cs')
-rw-r--r--src/wixcop/CommandLine/HelpCommand.cs10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/wixcop/CommandLine/HelpCommand.cs b/src/wixcop/CommandLine/HelpCommand.cs
index bfb784b0..1505dc59 100644
--- a/src/wixcop/CommandLine/HelpCommand.cs
+++ b/src/wixcop/CommandLine/HelpCommand.cs
@@ -4,9 +4,14 @@ namespace WixToolset.Tools.WixCop.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 {
11 public bool ShowLogo => false;
12
13 public bool StopParsing => true;
14
10 public int Execute() 15 public int Execute()
11 { 16 {
12 Console.WriteLine(" usage: wixcop.exe sourceFile [sourceFile ...]"); 17 Console.WriteLine(" usage: wixcop.exe sourceFile [sourceFile ...]");
@@ -23,5 +28,10 @@ namespace WixToolset.Tools.WixCop.CommandLine
23 28
24 return 0; 29 return 0;
25 } 30 }
31
32 public bool TryParseArgument(ICommandLineParser parser, string argument)
33 {
34 return true;
35 }
26 } 36 }
27} 37}