This commit is contained in:
2021-02-22 12:03:52 +08:00
parent 6c580e3352
commit d5103035e2
+3
View File
@@ -134,6 +134,9 @@ abstract class AbstractConsole extends Component
{ {
$_tmp = []; $_tmp = [];
foreach ($this->commands as $command) { foreach ($this->commands as $command) {
if ($command->command === 'system:help') {
continue;
}
$_tmp[$command->command] = [$command->description, $command]; $_tmp[$command->command] = [$command->description, $command];
} }
ksort($_tmp, SORT_ASC); ksort($_tmp, SORT_ASC);