Skip to content

Commit 012456d

Browse files
committed
Moved versionadded to the right section
1 parent 730985f commit 012456d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

components/console/changing_default_behavior.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,6 @@
44
Changing the Default Behavior
55
=============================
66

7-
.. versionadded:: 2.5,
8-
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
9-
method was introduced in version 2.5
10-
117
When building a command line tool, you may need to customize it to fit your needs.
128
Probably you want to change the Default Command that the Application runs or
139
maybe you just want to run a Single Command instead of have to pass the command
@@ -16,6 +12,10 @@ name each time. Fortunately it is possible to do both.
1612
Changing the Default Command
1713
----------------------------
1814

15+
.. versionadded:: 2.5,
16+
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
17+
method was introduced in version 2.5
18+
1919
By default the Application will always run the ListCommand. In order to change
2020
the default command you just need to pass the command name you want to run by
2121
default to the :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`

0 commit comments

Comments
 (0)