File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -54,10 +54,10 @@ The command can now be used in either of the following ways:
54
54
55
55
.. code-block :: bash
56
56
57
- $ php app /console app:greet Fabien
57
+ $ php bin /console app:greet Fabien
58
58
Hi Fabien!
59
59
60
- $ php app /console app:greet Fabien Potencier
60
+ $ php bin /console app:greet Fabien Potencier
61
61
Hi Fabien Potencier!
62
62
63
63
It is also possible to let an argument take a list of values (imagine you want
@@ -140,20 +140,20 @@ flag:
140
140
.. code-block :: bash
141
141
142
142
# no --iterations provided, the default (1) is used
143
- $ php app /console app:greet Fabien
143
+ $ php bin /console app:greet Fabien
144
144
Hi Fabien!
145
145
146
- $ php app /console app:greet Fabien --iterations=5
146
+ $ php bin /console app:greet Fabien --iterations=5
147
147
Hi Fabien
148
148
Hi Fabien
149
149
Hi Fabien
150
150
Hi Fabien
151
151
Hi Fabien
152
152
153
153
# the order of options isn't important
154
- $ php app /console app:greet Fabien --iterations=5 --yell
155
- $ php app /console app:greet Fabien --yell --iterations=5
156
- $ php app /console app:greet --yell --iterations=5 Fabien
154
+ $ php bin /console app:greet Fabien --iterations=5 --yell
155
+ $ php bin /console app:greet Fabien --yell --iterations=5
156
+ $ php bin /console app:greet --yell --iterations=5 Fabien
157
157
158
158
.. tip ::
159
159
You can’t perform that action at this time.
0 commit comments