/// <summary> /// Initializes a new instance of the <see cref="CommandLine.Parser"/> class. /// </summary> public Parser() { settings = new ParserSettings { Consumed = true }; }
internal Parser(ParserSettings settings) { this.settings = settings; this.settings.Consumed = true; }
private static ParserResult <T> MakeParserResult <T>(ParserResult <T> parserResult, ParserSettings settings) { return(DisplayHelp( parserResult, settings.HelpWriter, settings.MaximumDisplayWidth)); }