LScli : fix comment on run_command method

This commit is contained in:
Benjamin Renard 2020-05-06 19:48:13 +02:00
parent 6dcbddf84c
commit eb2b939dfe

View file

@ -203,10 +203,13 @@ class LScli {
} }
/** /**
* Run usage message * Run command
* *
* @param[in] $error string|false Error message to display before usage message (optional, default: false) * @param[in] $command string The command name
* @retval void * @param[in] $command string The command arguments (optional, default: array())
* @param[in] $exit boolean If true, function will exit after command execution (optional, default: true)
*
* @retval void|boolean If $exit is False, return boolean casted command return
**/ **/
public static function run_command($command, $command_args=array(), $exit=true) { public static function run_command($command, $command_args=array(), $exit=true) {
if (php_sapi_name() != "cli") { if (php_sapi_name() != "cli") {