private void PrintHelpMessage(Options options) { System.Console.Out.WriteLine("Retrieve logs for completed YARN applications."); HelpFormatter formatter = new HelpFormatter(); formatter.PrintHelp("yarn logs -applicationId <application ID> [OPTIONS]", new Options ()); formatter.SetSyntaxPrefix(string.Empty); formatter.PrintHelp("general options are:", options); }