Skip to content

Commit 00ced32

Browse files
committed
[#1664] Minor tweaks for new, bigger console component docs
1 parent 4b87656 commit 00ced32

File tree

4 files changed

+13
-12
lines changed

4 files changed

+13
-12
lines changed

components/console/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
Config
2-
======
1+
Console
2+
=======
33

44
.. toctree::
55
:maxdepth: 2

components/console/usage.rst

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44
Console Usage
55
=============
66

7-
As well as the options you specify for the commands you add there are some
8-
built options as well as a couple of built in commands for the console component.
7+
In addition to the options you specify for your commands, there are some
8+
built-in options as well as a couple of built-in commands for the console component.
99

1010
.. note::
11+
1112
These examples assume you have added a file ``app/console`` to run at
1213
the cli::
1314

@@ -21,10 +22,10 @@ built options as well as a couple of built in commands for the console component
2122
// ...
2223
$application->run();
2324

24-
Built in Commands
25+
Built-in Commands
2526
~~~~~~~~~~~~~~~~~
2627

27-
There is a built in command ``list`` which outputs all the standard options
28+
There is a built-in command ``list`` which outputs all the standard options
2829
and the registered commands:
2930

3031
.. code-block:: bash
@@ -53,7 +54,7 @@ Running ``help`` without specifying a command will list the global options:
5354
Global Options
5455
~~~~~~~~~~~~~~
5556

56-
You can get help information for any command with the ``--help`` option, to
57+
You can get help information for any command with the ``--help`` option. To
5758
get help for the list command:
5859

5960
.. code-block:: bash
@@ -68,7 +69,7 @@ You can suppress output with:
6869
$ php app/console list --quiet
6970
$ php app/console list -q
7071
71-
You can get more verbose messages (where this is supported for a command)
72+
You can get more verbose messages (if this is supported for a command)
7273
with:
7374

7475
.. code-block:: bash
@@ -122,7 +123,7 @@ Shortcut Syntax
122123
~~~~~~~~~~~~~~~
123124

124125
You do not have to type out the full command names. You can just type the
125-
shortest unambiguous name to run a command. So if there are non clashing
126+
shortest unambiguous name to run a command. So if there are non-clashing
126127
commands, then you can run ``help`` like this:
127128

128129
.. code-block:: bash
@@ -138,5 +139,5 @@ can run it with:
138139
139140
$ php app/console d:g Fabien
140141
141-
If you choose too short a command so it is ambiguous then no command will be run and
142+
If you choose too short a command so it is ambiguous, then no command will be run and
142143
some suggestions of the possible commands to choose from will be output.

components/index.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ The Components
66

77
class_loader
88
config/index
9-
console
9+
console/index
1010
css_selector
1111
dom_crawler
1212
dependency_injection/index

cookbook/console/console_command.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
How to create a Console Command
55
===============================
66

7-
The Console page of the Components section (:doc:`/components/console`) covers
7+
The Console page of the Components section (:doc:`/components/console/introduction`) covers
88
how to create a Console command. This cookbook articles covers the differences
99
when creating Console commands within the Symfony2 framework.
1010

0 commit comments

Comments
 (0)