Skip to content

Commit 547227f

Browse files
committed
minor #7545 Minor improvement for the default console command article (javiereguiluz)
This PR was merged into the 2.7 branch. Discussion ---------- Minor improvement for the default console command article As seen in symfony/symfony#21317 we didn't mention that options don't work either. Commits ------- ff7c62a Minor improvement for the default console command article
2 parents 68c2356 + ff7c62a commit 547227f

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

components/console/changing_default_command.rst

+4-3
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ name to the ``setDefaultCommand()`` method::
2828
}
2929
}
3030

31-
Executing the application and changing the default Command::
31+
Executing the application and changing the default command::
3232

3333
// application.php
3434

@@ -53,9 +53,10 @@ This will print the following to the command line:
5353
5454
Hello World
5555
56-
.. tip::
56+
.. caution::
5757

58-
This feature has a limitation: you cannot use it with any Command arguments.
58+
This feature has a limitation: you cannot pass any argument or option to
59+
the default command because they are ignored.
5960

6061
Learn More!
6162
-----------

0 commit comments

Comments
 (0)