aboutsummaryrefslogtreecommitdiff
path: root/src/wixcop/CommandLine/HelpCommand.cs
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2018-10-24 21:07:56 -0700
committerRob Mensching <rob@robmensching.com>2018-10-24 21:25:56 -0700
commit85fc7be678248a0a5873c08d48941021eb0959e6 (patch)
tree3dc8f14458fb2e5f2578ba95ca69189f801a99cf /src/wixcop/CommandLine/HelpCommand.cs
parentb66ea2e10a1b4be642e58319de85d2ca54991b47 (diff)
downloadwix-85fc7be678248a0a5873c08d48941021eb0959e6.tar.gz
wix-85fc7be678248a0a5873c08d48941021eb0959e6.tar.bz2
wix-85fc7be678248a0a5873c08d48941021eb0959e6.zip
Update to changes to reorganize command-line processing
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}