Skip to content

Reword the intro of a console article #9877

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
Jun 5, 2018
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
12 changes: 7 additions & 5 deletions components/console/console_arguments.rst
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
.. index::
single: Console; Console arguments

Understanding how Console Arguments Are Handled
===============================================
Understanding how Console Arguments and Options Are Handled
===========================================================

It can be difficult to understand the way arguments are handled by the console application.
The Symfony Console application, like many other CLI utility tools, follows the behavior
described in the `docopt`_ standards.
Symfony Console applications follow the same `docopt`_ standard used in most
CLI utility tools. This article explains how to handle edge-cases when the
commands define options with required values, without values, etc. Read
:doc:`this other article </console/input>` to learn about using arguments and
options inside Symfony Console commands.

Have a look at the following command that has three options::

Expand Down