public function is(string $arg): bool
    {
        return $this->short === $arg || $this->long === $arg;
    }
public function is(string $arg): bool
    {
        return $this->short === $arg || $this->long === $arg;
    }
public function is ( string $ arg ) : bool { return $ this -> short === $ arg || $ this -> long === $ arg ; }
Test if this option matches given arg.

@param string $arg

@return bool
Test if this option matches given arg .