aboutsummaryrefslogtreecommitdiff
path: root/src/wixcop/CommandLine/HelpCommand.cs
blob: a75dac5c2abe885f12b1fbc54305a54851a262c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
using System;
using WixToolset.Extensibility.Data;

namespace WixCop.CommandLine
{
    internal class HelpCommand : ICommandLineCommand
    {
        public int Execute()
        {
            Console.WriteLine(" usage:  wixcop.exe sourceFile [sourceFile ...]");
            Console.WriteLine();
            Console.WriteLine("   -f       fix errors automatically for writable files");
            Console.WriteLine("   -nologo  suppress displaying the logo information");
            Console.WriteLine("   -s       search for matching files in current dir and subdirs");
            Console.WriteLine("   -set1<file> primary settings file");
            Console.WriteLine("   -set2<file> secondary settings file (overrides primary)");
            Console.WriteLine("   -indent:<n> indentation multiple (overrides default of 4)");
            Console.WriteLine("   -?       this help information");
            Console.WriteLine();
            Console.WriteLine("   sourceFile may use wildcards like *.wxs");

            return 0;
        }
    }
}