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.cs37
1 files changed, 0 insertions, 37 deletions
diff --git a/src/wixcop/CommandLine/HelpCommand.cs b/src/wixcop/CommandLine/HelpCommand.cs
deleted file mode 100644
index 4a173cd9..00000000
--- a/src/wixcop/CommandLine/HelpCommand.cs
+++ /dev/null
@@ -1,37 +0,0 @@
1// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
2
3namespace WixToolset.Tools.WixCop.CommandLine
4{
5 using System;
6 using WixToolset.Extensibility.Data;
7 using WixToolset.Extensibility.Services;
8
9 internal class HelpCommand : ICommandLineCommand
10 {
11 public bool ShowLogo => true;
12
13 public bool StopParsing => true;
14
15 public int Execute()
16 {
17 Console.WriteLine(" usage: wixcop.exe sourceFile [sourceFile ...]");
18 Console.WriteLine();
19 Console.WriteLine(" -f fix errors automatically for writable files");
20 Console.WriteLine(" -nologo suppress displaying the logo information");
21 Console.WriteLine(" -s search for matching files in current dir and subdirs");
22 Console.WriteLine(" -set1<file> primary settings file");
23 Console.WriteLine(" -set2<file> secondary settings file (overrides primary)");
24 Console.WriteLine(" -indent:<n> indentation multiple (overrides default of 4)");
25 Console.WriteLine(" -? this help information");
26 Console.WriteLine();
27 Console.WriteLine(" sourceFile may use wildcards like *.wxs");
28
29 return 0;
30 }
31
32 public bool TryParseArgument(ICommandLineParser parser, string argument)
33 {
34 return true;
35 }
36 }
37}