Skip to content

Commit 2ddfd79

Browse files
authored
[Console] Fix argument position for addOption
1 parent 104e43c commit 2ddfd79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

console/input.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ can also implement value completion for the input in your commands. For
320320
instance, you may want to complete all usernames from the database in the
321321
``name`` argument of your greet command.
322322

323-
To achieve this, use the 5th argument of ``addArgument()``/``addOption``::
323+
To achieve this, use the 5th argument of ``addArgument()`` and the 6th argument of ``addOption``::
324324

325325
// ...
326326
use Symfony\Component\Console\Completion\CompletionInput;

0 commit comments

Comments
 (0)