8000 bug #22172 Fix port usage in server:status command (alcaeus) · symfony/symfony@7c5e3c0 · GitHub
[go: up one dir, main page]

Skip to content

Commit 7c5e3c0

Browse files
committed
bug #22172 Fix port usage in server:status command (alcaeus)
This PR was merged into the 2.7 branch. Discussion ---------- Fix port usage in server:status command | Q | A | ------------- | --- | Branch? | 2.7 | Bug fix? | yes | New feature? | no | BC breaks? | no | Deprecations? | no | Tests pass? | yes | License | MIT This fixes a bug where running `console server:status -p 8001` won't work because the port is already contained in the default value for `address`. Commits ------- dbcfa5c Remove port from default host in server:status command
2 parents 359a063 + dbcfa5c commit 7c5e3c0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Symfony/Bundle/FrameworkBundle/Command/ServerStatusCommand.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ protected function configure()
3131
{
3232
$this
3333
->setDefinition(array(
34-
new InputArgument('address', InputArgument::OPTIONAL, 'Address:port', '127.0.0.1:8000'),
34+
new InputArgument('address', InputArgument::OPTIONAL, 'Address:port', '127.0.0.1'),
3535
new InputOption('port', 'p', InputOption::VALUE_REQUIRED, 'Address port number', '8000'),
3636
))
3737
->setName('server:status')

0 commit comments

Comments
 (0)
0