blob: 4a173cd93e8a889fb3463c7ef2f81005996e46e4 (
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
26
27
28
29
30
31
32
33
34
35
36
37
|
// 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.
namespace WixToolset.Tools.WixCop.CommandLine
{
using System;
using WixToolset.Extensibility.Data;
using WixToolset.Extensibility.Services;
internal class HelpCommand : ICommandLineCommand
{
public bool ShowLogo => true;
public bool StopParsing => true;
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;
}
public bool TryParseArgument(ICommandLineParser parser, string argument)
{
return true;
}
}
}
|