Skip to content
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

Update introduction.rst #4057

Closed
wants to merge 1 commit into from
Closed

Conversation

carltondickson
Copy link
Contributor

In my opinion a note or example needs to be added to the command test example to show that the option name needs to be prefixed with a double hyphen.

Admittedly there is a similar example of passing an option to a command at https://github.com/symfony/symfony-docs/blob/2.4/components/console/introduction.rst#calling-an-existing-command but this could easily be missed.

In my opinion a note or example needs to be added to the command test example to show that the option needs to be prefixed with a double hyphen.
@weaverryan
Copy link
Member

Hey Carlton! Yea, this is a great suggestion. Even if it's mentioned somewhere lse, there's no downside - great suggestion. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants