From 264c37ab9622f5538789f7c83355721119acd514 Mon Sep 17 00:00:00 2001 From: Christian Flothmann Date: Sun, 19 Oct 2014 20:55:06 +0200 Subject: [PATCH] [FrameworkBundle] improve server:run feedback In #12253, improved feedback was added to the `server:run` command instructing the user how to terminate the built-in web server. This is hereby backported to the `2.3` branch. --- src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php index bbb701ba4a..f05ec593ca 100644 --- a/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php +++ b/src/Symfony/Bundle/FrameworkBundle/Command/ServerRunCommand.php @@ -110,6 +110,7 @@ EOF $router = realpath($router); $output->writeln(sprintf("Server running on http://%s\n", $input->getArgument('address'))); + $output->writeln('Quit the server with CONTROL-C.'); $builder = new ProcessBuilder(array(PHP_BINARY, '-S', $input->getArgument('address'), $router)); $builder->setWorkingDirectory($documentRoot);