Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc1b2aad

Browse files
committed
Applied suggestions from Ryan
1 parent5e97202 commitc1b2aad

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

‎components/console/changing_default_command.rst‎

Lines changed: 4 additions & 4 deletions
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 Applicationwill 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 featurewas a limitation sinceyou cannot usetheCommand``arguments``.
62+
This featurehas a limitation:you cannot useit with anyCommand arguments.
6363

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

‎components/console/single_command_tool.rst‎

Lines changed: 1 addition & 1 deletion
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‎

Lines changed: 2 additions & 1 deletion
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)

[8]ページ先頭

©2009-2025 Movatter.jp