ParsedArgs.flag

Returns the number of times the given flag was passed.

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