From 74fda80847813bcc7e706782a5fcfd6903f0ca42 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=90=91=E6=9E=97?= Date: Tue, 19 Oct 2021 16:37:30 +0800 Subject: [PATCH] =?UTF-8?q?=E6=94=B9=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- http-server/ServerCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/http-server/ServerCommand.php b/http-server/ServerCommand.php index edbd0986..192755e7 100644 --- a/http-server/ServerCommand.php +++ b/http-server/ServerCommand.php @@ -52,7 +52,7 @@ class ServerCommand extends Command $this->setName('sw:server') ->setDescription('server start|stop|reload|restart') ->addArgument('action', InputArgument::REQUIRED) - ->addArgument('--daemon', InputArgument::OPTIONAL, '', 0); + ->addOption('--daemon', '-d'); }