Class HelpFormatter


  • public class HelpFormatter
    extends Object
    This is a simple formatter which takes into account the current terminal width when printing text content. Specifically, if the terminal width is less than the length of the lines of content, it'll try to preserve the readability of the text by splitting/breaking the lines and adding whitespace offsets to more or less preserve the original structure of the text.
    Author:
    Alexey Loubyansky