Skip to content

Commit c1b2aad

Browse files
committed
Applied suggestions from Ryan
1 parent 5e97202 commit c1b2aad

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

components/console/changing_default_command.rst

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
single: Console; Changing the Default Command
2+
single: Console; Changing the Default Command
33

44
Changing the Default Command
55
============================
@@ -8,7 +8,7 @@ Changing the Default Command
88
The :method:`Symfony\\Component\\Console\\Application::setDefaultCommand`
99
method was introduced in version 2.5.
1010

11-
By default the Application will always run the ``ListCommand``. In order to change
11+
will always run the ``ListCommand`` when no command name is passed. In order to change
1212
the default command you just need to pass the command name you want to run by
1313
default to the ``setDefaultCommand`` method::
1414

@@ -45,7 +45,7 @@ Executing the application and changing the default Command::
4545
$application->setDefaultCommand($command->getName());
4646
$application->run();
4747

48-
Test the new default console command by running the following
48+
Test the new default console command by running the following:
4949

5050
.. code-block:: bash
5151
@@ -59,7 +59,7 @@ This will print the following to the command line:
5959
6060
.. tip::
6161

62-
The feature was a limitation since you cannot use the Command ``arguments``.
62+
This feature has a limitation: you cannot use it with any Command arguments.
6363

6464
Learn More!
6565
-----------

components/console/single_command_tool.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
.. index::
2-
single: Console; Single command application
2+
single: Console; Single command application
33

44
Building a Single Command Application
55
=====================================

components/map.rst.inc

+2-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,8 @@
1919

2020
* :doc:`/components/console/introduction`
2121
* :doc:`/components/console/usage`
22-
* :doc:`/components/console/changing_default_behavior`
22+
* :doc:`/components/console/single_command_tool`
23+
* :doc:`/components/console/changing_default_command`
2324
* :doc:`/components/console/events`
2425
* :doc:`/components/console/helpers/index`
2526

0 commit comments

Comments
 (0)