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
1 changed files with 2 additions and 2 deletions

View File

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