private function checkInputs($short, $long)
    {
        $key = array_search($short, $this->inputs);
        if ($key === false) {
            $key = array_search($long, $this->inputs);
            if ($key === false) {
                return false;
            } else {
                return $key;
            }
        } else {
            return $key;
        }
    }
private function checkInputs($short, $long)
    {
        $key = array_search($short, $this->inputs);
        if ($key === false) {
            $key = array_search($long, $this->inputs);
            if ($key === false) {
                return false;
            } else {
                return $key;
            }
        } else {
            return $key;
        }
    }
private function checkInputs ( $ short , $ long ) { $ key = array_search ( $ short , $ this -> inputs ) ; if ( $ key === false ) { $ key = array_search ( $ long , $ this -> inputs ) ; if ( $ key === false ) { return false ; } else { return $ key ; } } else { return $ key ; } }
Check input for flag

@param string $short
@param string $long

@return bool|mixed
Check input for flag