@@ -225,8 +225,8 @@ verbosity levels::
225
225
}
226
226
227
227
When the quiet level is used, all output is suppressed as the default
228
- :method: `Symfony\C omponent \C onsole \O utput::write <Symfony \\ Component\\ Console\\ Output\\ Output::write> `
229
- method returns without actually printing.
228
+ :method: `Symfony\\ Component\\ Console\\ Output\\ Output::write ` method returns
229
+ without actually printing.
230
230
231
231
.. tip ::
232
232
@@ -321,13 +321,13 @@ Unlike arguments, options are not ordered (meaning you can specify them in any
321
321
order) and are specified with two dashes (e.g. ``--yell `` - you can also
322
322
declare a one-letter shortcut that you can call with a single dash like
323
323
``-y ``). Options are *always * optional, and can be setup to accept a value
324
- (e.g. ``dir=src ``) or simply as a boolean flag without a value (e.g.
325
- ``yell ``).
324
+ (e.g. ``-- dir=src ``) or simply as a boolean flag without a value (e.g.
325
+ ``-- yell ``).
326
326
327
327
.. tip ::
328
328
329
329
It is also possible to make an option *optionally * accept a value (so that
330
- ``--yell `` or ``yell=loud `` work). Options can also be configured to
330
+ ``--yell `` or ``-- yell=loud `` work). Options can also be configured to
331
331
accept an array of values.
332
332
333
333
For example, add a new option to the command that can be used to specify
@@ -379,7 +379,7 @@ Option Value
379
379
InputOption::VALUE_IS_ARRAY This option accepts multiple values (e.g. ``--dir=/foo --dir=/bar ``)
380
380
InputOption::VALUE_NONE Do not accept input for this option (e.g. ``--yell ``)
381
381
InputOption::VALUE_REQUIRED This value is required (e.g. ``--iterations=5 ``), the option itself is still optional
382
- InputOption::VALUE_OPTIONAL This option may or may not have a value (e.g. ``yell `` or ``yell=loud ``)
382
+ InputOption::VALUE_OPTIONAL This option may or may not have a value (e.g. ``-- yell `` or ``-- yell=loud ``)
383
383
=========================== =====================================================================================
384
384
385
385
You can combine ``VALUE_IS_ARRAY `` with ``VALUE_REQUIRED `` or ``VALUE_OPTIONAL `` like this:
0 commit comments