Skip to content

Commit 3a5ed80

Browse files
committed
Merge branch '4.4' into 5.2
* 4.4: Add explicit note about the type of VALUE_NONE
2 parents ed29b65 + 976e11a commit 3a5ed80

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

console/input.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -205,8 +205,9 @@ There are four option variants you can use:
205205
This option accepts multiple values (e.g. ``--dir=/foo --dir=/bar``);
206206

207207
``InputOption::VALUE_NONE``
208-
Do not accept input for this option (e.g. ``--yell``). This is the default
209-
behavior of options;
208+
Do not accept input for this option (e.g. ``--yell``). The value returned
209+
from is a boolean (``false`` if the option is not provided).
210+
This is the default behavior of options;
210211

211212
``InputOption::VALUE_REQUIRED``
212213
This value is required (e.g. ``--iterations=5`` or ``-i5``), the option

0 commit comments

Comments
 (0)