8000 [Console] Update console help or fix argument parsing for the command · Issue #15845 · symfony/symfony · GitHub
[go: up one dir, main page]

Skip to content

[Console] Update console help or fix argument parsing for the command #15845

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Seldaek opened this issue Sep 20, 2015 · 1 comment
Closed

[Console] Update console help or fix argument parsing for the command #15845

Seldaek opened this issue Sep 20, 2015 · 1 comment
Labels

Comments

@Seldaek
Copy link
Member
Seldaek commented Sep 20, 2015

' [options] command [arguments]',
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.

(Forwarded issue from composer/composer#3139)

@wouterj
Copy link
Member
wouterj commented Oct 4, 2015

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

@xabbuh xabbuh added the Console label Oct 4, 2015
@xabbuh xabbuh closed this as completed Oct 4, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants
0