Option.tag

Sets option value tag.

A tag is a token displayed in place of option value. Default tag is value.

For example, for a option that takes path to configuration file, one can create --config option and set tag to config-path, so that in help it is displayed as --config=config-path instead of --config=value

  1. typeof(this) tag(string tag)
    class Option
    typeof(this)
    tag
    pure nothrow @safe @nogc
    (
    string tag
    )
  2. string tag()

Meta