diff --git a/http-server/ServerCommand.php b/http-server/ServerCommand.php index 4f3966ba..979b3936 100644 --- a/http-server/ServerCommand.php +++ b/http-server/ServerCommand.php @@ -49,7 +49,7 @@ class ServerCommand extends Command $this->setName('sw:server') ->setDescription('server start|stop|reload|restart') ->addArgument('action', InputArgument::REQUIRED) - ->addOption('daemon', 'd', InputOption::VALUE_NONE,'is run daemonize',-1); + ->addOption('daemon', 'd', InputOption::VALUE_OPTIONAL,'is run daemonize',-1); }