// 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 => false; 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 primary settings file"); Console.WriteLine(" -set2 secondary settings file (overrides primary)"); Console.WriteLine(" -indent: 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; } } }