ParsedArgs.hasFlag

Checks whether the given flag is present.

  1. bool hasFlag(string name)
  2. bool hasFlag(Flag flag)
    class ParsedArgs
    const nothrow @safe
    bool
    hasFlag