diff options
| author | Sean Hall <r.sean.hall@gmail.com> | 2018-09-02 16:12:29 -0500 |
|---|---|---|
| committer | Sean Hall <r.sean.hall@gmail.com> | 2018-09-13 12:05:57 -0500 |
| commit | 244b46cf7f3252d6dc3884ce184be901d1d173e5 (patch) | |
| tree | bd6fb4349b926001138d1a3415f93370d64e538f /src/wixcop/CommandLine/HelpCommand.cs | |
| parent | 026d0af96fac5cd2d3d84ade657949ddc7144b99 (diff) | |
| download | wix-244b46cf7f3252d6dc3884ce184be901d1d173e5.tar.gz wix-244b46cf7f3252d6dc3884ce184be901d1d173e5.tar.bz2 wix-244b46cf7f3252d6dc3884ce184be901d1d173e5.zip | |
Migrate WixCop into Tools from wix4.
Diffstat (limited to 'src/wixcop/CommandLine/HelpCommand.cs')
| -rw-r--r-- | src/wixcop/CommandLine/HelpCommand.cs | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/src/wixcop/CommandLine/HelpCommand.cs b/src/wixcop/CommandLine/HelpCommand.cs new file mode 100644 index 00000000..a75dac5c --- /dev/null +++ b/src/wixcop/CommandLine/HelpCommand.cs | |||
| @@ -0,0 +1,25 @@ | |||
| 1 | using System; | ||
| 2 | using WixToolset.Extensibility.Data; | ||
| 3 | |||
| 4 | namespace WixCop.CommandLine | ||
| 5 | { | ||
| 6 | internal class HelpCommand : ICommandLineCommand | ||
| 7 | { | ||
| 8 | public int Execute() | ||
| 9 | { | ||
| 10 | Console.WriteLine(" usage: wixcop.exe sourceFile [sourceFile ...]"); | ||
| 11 | Console.WriteLine(); | ||
| 12 | Console.WriteLine(" -f fix errors automatically for writable files"); | ||
| 13 | Console.WriteLine(" -nologo suppress displaying the logo information"); | ||
| 14 | Console.WriteLine(" -s search for matching files in current dir and subdirs"); | ||
| 15 | Console.WriteLine(" -set1<file> primary settings file"); | ||
| 16 | Console.WriteLine(" -set2<file> secondary settings file (overrides primary)"); | ||
| 17 | Console.WriteLine(" -indent:<n> indentation multiple (overrides default of 4)"); | ||
| 18 | Console.WriteLine(" -? this help information"); | ||
| 19 | Console.WriteLine(); | ||
| 20 | Console.WriteLine(" sourceFile may use wildcards like *.wxs"); | ||
| 21 | |||
| 22 | return 0; | ||
| 23 | } | ||
| 24 | } | ||
| 25 | } | ||
