Skip to content

Commit a78f065

Browse files
super-omariojaviereguiluz
authored andcommitted
[Console] Fix argument position for addOption
1 parent 104e43c commit a78f065

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)