Skip to content

Commit 0c0708e

Browse files
committed
minor #20677 [Console] Fix argument position for addOption (super-omario)
This PR was squashed before being merged into the 6.4 branch. Discussion ---------- [Console] Fix argument position for addOption Commits ------- a78f065 [Console] Fix argument position for addOption
2 parents 1f1337e + a78f065 commit 0c0708e

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
@@ -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()`` or the 6th argument of ``addOption``::
324324

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

0 commit comments

Comments
 (0)