Option.formattedName

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

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

Parameters

colors bool

Whether to use colors.

padded bool

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