Skip to content

Commit

Permalink
Update console/input.rst
Browse files Browse the repository at this point in the history
Co-authored-by: Matthieu Lempereur <[email protected]>
  • Loading branch information
super-omario and MrYamous authored Feb 22, 2025
1 parent 2ddfd79 commit 885537c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion console/input.rst
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ can also implement value completion for the input in your commands. For
instance, you may want to complete all usernames from the database in the
``name`` argument of your greet command.

To achieve this, use the 5th argument of ``addArgument()`` and the 6th argument of ``addOption``::
To achieve this, use the 5th argument of ``addArgument()`` or the 6th argument of ``addOption``::

// ...
use Symfony\Component\Console\Completion\CompletionInput;
Expand Down

0 comments on commit 885537c

Please sign in to comment.