Skip to content

Commit

Permalink
minor #4363 Fixed sentence (WouterJ)
Browse files Browse the repository at this point in the history
This PR was merged into the 2.5 branch.

Discussion
----------

Fixed sentence

The sentence did not have a start and was not that easy to read (since it had 2 times "default" in it). I changed it a bit.

| Q   | A
| --- | ---
| Doc fix? | yes
| New docs? | no
| Applies to | 2.5+
| Fixed tickets | -

Commits
-------

1a410e4 Fixed sentence
  • Loading branch information
weaverryan committed Oct 26, 2014
2 parents f11d31f + 1a410e4 commit eb752cc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions components/console/changing_default_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ Changing the Default Command
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
method was introduced in Symfony 2.5.

will always run the ``ListCommand`` when no command name is passed. In order to change
the default command you just need to pass the command name you want to run by
default to the ``setDefaultCommand`` method::
The Console component will always run the ``ListCommand`` when no command name is
passed. In order to change the default command you just need to pass the command
name to the ``setDefaultCommand`` method::

namespace Acme\Console\Command;

Expand Down

0 comments on commit eb752cc

Please sign in to comment.