This commit is contained in:
2021-11-04 18:50:42 +08:00
parent 441e0867f6
commit 36fedb789e
+1 -2
View File
@@ -6,7 +6,6 @@ namespace Server;
use Annotation\Inject;
use Exception;
use Http\Handler\Router;
use Kiri\Abstracts\Config;
use Kiri\Events\EventProvider;
use Kiri\Exception\ConfigException;
@@ -49,7 +48,7 @@ class ServerCommand extends Command
{
$this->setName('sw:server')
->setDescription('server start|stop|reload|restart')
->addArgument('action', InputArgument::REQUIRED)
->addArgument('action', InputArgument::OPTIONAL, 'run action', 'start')
->addOption('daemon', 'd', InputOption::VALUE_OPTIONAL, 'is run daemonize', -1);
}