You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: console/input.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -91,7 +91,7 @@ There are three argument variants you can use:
91
91
provided;
92
92
93
93
``InputArgument::OPTIONAL``
94
-
The argument is optional and therefore can be omitted;
94
+
The argument is optional and therefore can be omitted. This is the default mode when you omit or pass null to the ``$mode`` parameter of the ``addArgument`` method;
95
95
96
96
``InputArgument::IS_ARRAY``
97
97
The argument can contain any number of values. For that reason, it must be
@@ -178,7 +178,7 @@ There are four option variants you can use:
178
178
``InputOption::VALUE_IS_ARRAY``
179
179
This option accepts multiple values (e.g. ``--dir=/foo --dir=/bar``);
180
180
``InputOption::VALUE_NONE``
181
-
Do not accept input for this option (e.g. ``--yell``);
181
+
Do not accept input for this option (e.g. ``--yell``). This is the default mode when you omit or pass null to the ``$mode`` parameter of the ``addOption`` method;
182
182
``InputOption::VALUE_REQUIRED``
183
183
This value is required (e.g. ``--iterations=5``), the option itself is
0 commit comments