Code cleanup, better examples, tasks added
This commit is contained in:
@ -132,6 +132,7 @@ class Context
|
||||
$info = $this->commandInfo[$command];
|
||||
$args = array_key_exists("args",$info)?$info['args']:"";
|
||||
$help = array_key_exists("help",$info)?$info['help']:"";
|
||||
$help = $help?:(array_key_exists("descr",$info)?$info['descr']:"");
|
||||
$ret[trim("{$command} {$args}")] = $help;
|
||||
}
|
||||
return $ret;
|
||||
|
Reference in New Issue
Block a user