framework/console/CConsoleCommand.php
public function getHelp()
	{
		$help='Usage: '.$this->getCommandRunner()->getScriptName().' '.$this->getName();
		$options=$this->getOptionHelp();
		if(empty($options))
			return $help."\n";
		if(count($options)===1)
			return $help.' '.$options[0]."\n";
		$help.=" <action>\nActions:\n";
		foreach($options as $option)
			$help.='    '.$option."\n";
		return $help;
	}
public function getHelp()
	{
		$help='Usage: '.$this->getCommandRunner()->getScriptName().' '.$this->getName();
		$options=$this->getOptionHelp();
		if(empty($options))
			return $help."\n";
		if(count($options)===1)
			return $help.' '.$options[0]."\n";
		$help.=" <action>\nActions:\n";
		foreach($options as $option)
			$help.='    '.$option."\n";
		return $help;
	}
public function getHelp ( ) { $ help = 'Usage: ' . $ this -> getCommandRunner ( ) -> getScriptName ( ) . ' ' . $ this -> getName ( ) ; $ options = $ this -> getOptionHelp ( ) ; if ( empty ( $ options ) ) return $ help . "\n" ; if ( count ( $ options ) === 1 ) return $ help . ' ' . $ options [ 0 ] . "\n" ; $ help .= " <action>\nActions:\n" ; foreach ( $ options as $ option ) $ help .= '    ' . $ option . "\n" ; return $ help ; }
Provides the command description.
This method may be overridden to return the actual command description.
@return string the command description. Defaults to 'Usage: php entry-script.php command-name'.
Provides the command description . This method may be overridden to return the actual command description .