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
says that options should come before the command (console [options] command [arguments]) but this does not actually work if you pass an option with a value and no equal sign, like console -d dValue command as it will take dValue as the command name.
I think either docs should be fixed or ideally the parsing improved so that it doesn't do this, but that might not be realistic since the parsing depends on the command config.
The help message was wrong and is fixed by #13545 . 2.3.26+, 2.5.11+, 2.6.5+ and 2.7+ are now showing command [options] [arguments], which is the correct order
symfony/src/Symfony/Component/Console/Application.php
Line 258 in 73c7eae
console [options] command [arguments]
) but this does not actually work if you pass an option with a value and no equal sign, likeconsole -d dValue command
as it will take dValue as the command name.I think either docs should be fixed or ideally the parsing improved so that it doesn't do this, but that might not be realistic since the parsing depends on the command config.
(Forwarded issue from composer/composer#3139)
The text was updated successfully, but these errors were encountered: