@@ -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
@@ -75,7 +75,7 @@ To use this, just specify as many names as you want:
75
75
76
76
.. code-block :: bash
77
77
78
- $ php app /console app:greet Fabien Ryan Bernhard
78
+ $ php bin /console app:greet Fabien Ryan Bernhard
79
79
80
80
You can access the ``names `` argument as an array::
81
81
@@ -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
0 commit comments