Option.formattedName

Returns formatted name with parameter placeholder, e.g., -f, --foo <val>.

  1. string formattedName(bool colors, bool padded)
  2. string formattedName(bool padded)
    class Option
    override const nothrow @safe
    string
    formattedName
    (
    bool padded = false
    )

Parameters

padded bool

Whether to add spaces at the start if there is no short option.