diff options
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 | } | ||