Skip to content

Commit a1d873c

Browse files
javiereguiluzkbond
authored andcommitted
[Doc] Remove the --dir option in debug:twig-component command
1 parent 4b3fcae commit a1d873c

File tree

1 file changed

+3
-11
lines changed

1 file changed

+3
-11
lines changed

src/TwigComponent/doc/index.rst

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ and any other components by running:
118118

119119
.. code-block:: terminal
120120
121-
$ php bin/console debug:twig-component --dir=bar
121+
$ php bin/console debug:twig-component
122122
123123
Take a moment to fist pump - then come back!
124124

@@ -1598,7 +1598,7 @@ Debugging Components
15981598
As your application grows, you'll eventually have a lot of components.
15991599
This command will help you to debug some components issues.
16001600
First, the debug:twig-component command lists all your application components
1601-
who live in ``templates/components``:
1601+
that live in ``templates/components/``:
16021602

16031603
.. code-block:: terminal
16041604
@@ -1614,15 +1614,7 @@ who live in ``templates/components``:
16141614
| foo:Anonymous | Anonymous component | components/foo/Anonymous.html.twig | |
16151615
+---------------+-----------------------------+------------------------------------+------+
16161616
1617-
If you have some components that don't live in ``templates/components/``,
1618-
but in ``templates/bar`` for example, you can pass an option:
1619-
1620-
.. code-block:: terminal
1621-
1622-
$ php bin/console debug:twig-component --dir=bar
1623-
1624-
And the name of some component to this argument to print the
1625-
component details:
1617+
Pass the name of some component as an argument to print its details:
16261618

16271619
.. code-block:: terminal
16281620

0 commit comments

Comments
 (0)