library/Garp/Cli/Command/Spawn.php
protected function _isHelpRequested($args) {
        if (array_key_exists('help', $args)) {
            return true;
        }

        if (!$this->_isFirstArgumentGiven($args)) {
            return false;
        }

        $helpWasAsked = strcasecmp($args[0], 'help') === 0;
        return $helpWasAsked;
    }
protected function _isHelpRequested($args) {
        if (array_key_exists('help', $args)) {
            return true;
        }

        if (!$this->_isFirstArgumentGiven($args)) {
            return false;
        }

        $helpWasAsked = strcasecmp($args[0], 'help') === 0;
        return $helpWasAsked;
    }
protected function _isHelpRequested ( $ args ) { if ( array_key_exists ( 'help' , $ args ) ) { return true ; } if ( ! $ this -> _isFirstArgumentGiven ( $ args ) ) { return false ; } $ helpWasAsked = strcasecmp ( $ args [ 0 ] , 'help' ) === 0 ; return $ helpWasAsked ; }
Detects whether the CLI user was asking for help.

@param array $args
@return bool
Detects whether the CLI user was asking for help .