Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

[Console] Fixed app/console to bin/console on 3.1 branch #7109

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 5, 2016
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Update input.rst
  • Loading branch information
andreybolonin authored Nov 2, 2016
commit cfaaf088d09ed0178ebb4ae36513f9ea681f49a6
14 changes: 7 additions & 7 deletions 14 console/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -140,20 +140,20 @@ 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
Hi Fabien
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::

Expand Down
Morty Proxy This is a proxified and sanitized view of the page, visit original site.