public function options()
    {
        $commandName = $subCommandName = '';
        if (!empty($this->args[0])) {
            $commandName = $this->args[0];
        }
        if (!empty($this->args[1])) {
            $subCommandName = $this->args[1];
        }
        $options = $this->Command->options($commandName, $subCommandName);

        return $this->_output($options);
    }
public function options()
    {
        $commandName = $subCommandName = '';
        if (!empty($this->args[0])) {
            $commandName = $this->args[0];
        }
        if (!empty($this->args[1])) {
            $subCommandName = $this->args[1];
        }
        $options = $this->Command->options($commandName, $subCommandName);

        return $this->_output($options);
    }
public function options ( ) { $ commandName = $ subCommandName = '' ; if ( ! empty ( $ this -> args [ 0 ] ) ) { $ commandName = $ this -> args [ 0 ] ; } if ( ! empty ( $ this -> args [ 1 ] ) ) { $ subCommandName = $ this -> args [ 1 ] ; } $ options = $ this -> Command -> options ( $ commandName , $ subCommandName ) ; return $ this -> _output ( $ options ) ; }
list options for the named command

@return int|bool|null Returns the number of bytes returned from writing to stdout.
list options for the named command