ParsedArgs.hasOption

Checks whether the given option is present.

  1. bool hasOption(string name)
  2. bool hasOption(const(Option) option)
    class ParsedArgs
    const nothrow @safe
    bool
    hasOption
    (
    const(Option) option
    )