protected function registerDefaultOptions()
    {
        $this->options->registerOption(
            'help',
            'Display this help screen and exit immediately.',
            'h'
        );
        $this->options->registerOption(
            'no-colors',
            'Do not use any colors in output. Useful when piping output to other tools or files.'
        );
        $this->options->registerOption(
            'loglevel',
            'Minimum level of messages to display. Default is ' . $this->colors->wrap($this->logdefault, Colors::C_CYAN) . '. ' .
            'Valid levels are: debug, info, notice, success, warning, error, critical, alert, emergency.',
            null,
            'level'
        );
    }
protected function registerDefaultOptions()
    {
        $this->options->registerOption(
            'help',
            'Display this help screen and exit immediately.',
            'h'
        );
        $this->options->registerOption(
            'no-colors',
            'Do not use any colors in output. Useful when piping output to other tools or files.'
        );
        $this->options->registerOption(
            'loglevel',
            'Minimum level of messages to display. Default is ' . $this->colors->wrap($this->logdefault, Colors::C_CYAN) . '. ' .
            'Valid levels are: debug, info, notice, success, warning, error, critical, alert, emergency.',
            null,
            'level'
        );
    }
protected function registerDefaultOptions ( ) { $ this -> options -> registerOption ( 'help' , 'Display this help screen and exit immediately.' , 'h' ) ; $ this -> options -> registerOption ( 'no-colors' , 'Do not use any colors in output. Useful when piping output to other tools or files.' ) ; $ this -> options -> registerOption ( 'loglevel' , 'Minimum level of messages to display. Default is ' . $ this -> colors -> wrap ( $ this -> logdefault , Colors :: C_CYAN ) . '. ' . 'Valid levels are: debug, info, notice, success, warning, error, critical, alert, emergency.' , null , 'level' ) ; }
Add the default help, color and log options
Add the default help color and log options