Formatter

object Formatter
class Object
trait Matchable
class Any

Value members

Concrete methods

def format(s: List[Either[String, HelpInfo]], width: Option[Int], appendDefault: Boolean): String

Accepts a list of Option(argument line, option description, optional default value). If None, empty line is inserted. Also accepts optional width, to which the result must be formatted.

Accepts a list of Option(argument line, option description, optional default value). If None, empty line is inserted. Also accepts optional width, to which the result must be formatted.

def wrap(s: Seq[String], width: Int): List[String]

Carefully wraps the text to the needed width.

Carefully wraps the text to the needed width.