WebCommand::serveAction(): make arguments non-positional
resolves #10682
This commit is contained in:
parent
15154308d1
commit
d101e852ce
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue