WebCommand::serveAction(): make arguments non-positional

resolves #10682
This commit is contained in:
Alexander A. Klimov 2015-11-20 18:27:12 +01:00
parent 15154308d1
commit d101e852ce

View File

@ -21,8 +21,8 @@ class WebCommand extends Command
} }
$fork = $this->params->get('daemonize'); $fork = $this->params->get('daemonize');
$documentRoot = $this->params->shift(); $documentRoot = $this->params->shift('document-root');
$socket = $this->params->shift(); $socket = $this->params->shift('listen-addr');
// TODO: Sanity check!! // TODO: Sanity check!!
if ($socket === null) { if ($socket === null) {