diff --git a/console/input.rst b/console/input.rst index 82a147b86d9..d689cc4b04f 100644 --- a/console/input.rst +++ b/console/input.rst @@ -54,10 +54,10 @@ The command can now be used in either of the following ways: .. code-block:: bash - $ php app/console app:greet Fabien + $ php bin/console app:greet Fabien Hi Fabien! - $ php app/console app:greet Fabien Potencier + $ php bin/console app:greet Fabien Potencier Hi Fabien Potencier! 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: .. code-block:: bash - $ php app/console app:greet Fabien Ryan Bernhard + $ php bin/console app:greet Fabien Ryan Bernhard You can access the ``names`` argument as an array:: @@ -140,10 +140,10 @@ flag: .. code-block:: bash # no --iterations provided, the default (1) is used - $ php app/console app:greet Fabien + $ php bin/console app:greet Fabien Hi Fabien! - $ php app/console app:greet Fabien --iterations=5 + $ php bin/console app:greet Fabien --iterations=5 Hi Fabien Hi Fabien Hi Fabien @@ -151,9 +151,9 @@ flag: Hi Fabien # the order of options isn't important - $ php app/console app:greet Fabien --iterations=5 --yell - $ php app/console app:greet Fabien --yell --iterations=5 - $ php app/console app:greet --yell --iterations=5 Fabien + $ php bin/console app:greet Fabien --iterations=5 --yell + $ php bin/console app:greet Fabien --yell --iterations=5 + $ php bin/console app:greet --yell --iterations=5 Fabien .. tip::