Skip to content

Commit e1b7cc2

Browse files
author
guesmiii
authored
Clarify VALUE_IS_ARRAY usage
VALUE_IS_ARRAY can't be used alone and must be combined with VALUE_REQUIRED or VALUE_OPTIONAL else we will get InvalidArgumentException('Impossible to have an option mode VALUE_IS_ARRAY if the option does not accept a value.')
1 parent dba5691 commit e1b7cc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console/input.rst

+1-1
Original file line numberDiff line numberDiff line change
@@ -217,7 +217,7 @@ There are four option variants you can use:
217217
This option may or may not have a value (e.g. ``--yell`` or
218218
``--yell=loud``).
219219

220-
You can combine ``VALUE_IS_ARRAY`` with ``VALUE_REQUIRED`` or
220+
You need to combine ``VALUE_IS_ARRAY`` with ``VALUE_REQUIRED`` or
221221
``VALUE_OPTIONAL`` like this::
222222

223223
$this

0 commit comments

Comments
 (0)