ParsedArgs.flag

Returns the number of times the flag with the given name was passed.

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