private static void DisplayHelpText <T>(ParserResult <T> parserResult, Logger logger) { HelpText helpText = parserResult.GetHelpText(); helpText.AddOptions(parserResult); logger.LogError(helpText); }