From dfd7ead46663d5fdd934670a11c0779b0f855e64 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mr=C2=B7x?= Date: Thu, 2 Sep 2021 12:02:26 +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-helper/Command.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/http-helper/Command.php b/http-helper/Command.php index 285bff12..48b09bf6 100644 --- a/http-helper/Command.php +++ b/http-helper/Command.php @@ -43,7 +43,9 @@ class Command extends \Symfony\Component\Console\Command\Command protected function configure() { $this->setName('sw:server') - ->setDescription('server start|stop|reload|restart'); + ->setDescription('server start|stop|reload|restart') + ->addOption('action') + ->addOption('daemon'); }