Class HelpFormatter.Builder

    • Constructor Detail

    • Method Detail

      • setPrintWriter

        public HelpFormatter.Builder setPrintWriter​(java.io.PrintWriter printWriter)
        Sets the output PrintWriter, defaults to wrapping System.out.
        Parameters:
        printWriter - the output PrintWriter, not null.
        Returns:
        this.
      • setShowDeprecated

        public HelpFormatter.Builder setShowDeprecated​(boolean showDeprecated)
        Sets whether to show deprecated options.
        Parameters:
        showDeprecated - Whether to show deprecated options.
        Returns:
        this.