diff options
| author | Rob Mensching <rob@firegiant.com> | 2020-06-07 08:14:46 -0700 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2020-06-10 08:16:55 -0700 |
| commit | 0ec925dbf8359629e6d4f71fb142118a05f07298 (patch) | |
| tree | 457fe49f9ea6a1e88605de77f8b37dd507b31547 /src/wixcop/CommandLine/HelpCommand.cs | |
| parent | 928e44669fab43f2ac100288bd188bf11e11e9c5 (diff) | |
| download | wix-0ec925dbf8359629e6d4f71fb142118a05f07298.tar.gz wix-0ec925dbf8359629e6d4f71fb142118a05f07298.tar.bz2 wix-0ec925dbf8359629e6d4f71fb142118a05f07298.zip | |
Move WixCop to "wix.exe convert" command
Diffstat (limited to 'src/wixcop/CommandLine/HelpCommand.cs')
| -rw-r--r-- | src/wixcop/CommandLine/HelpCommand.cs | 37 |
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 | |||
| 3 | namespace 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 | } | ||
