-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
Closed
symfony/recipes
#481Labels
BugConsoleHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Status: Reviewed
Description
| Q | A |
|---|---|
| Bug report? | yes |
| Feature request? | no |
| BC Break report? | no |
| RFC? | no |
| Symfony version | 3.3.2 |
I usually use the short command bin/console to list all available options. But on a production server, I have to set the env option to avoid default dev environment and missing debug vendors.
But, if I type only bin/console -e prod the command report the following error:
[Symfony\Component\Console\Exception\CommandNotFoundException]
Command "prod" is not defined.
Did you mean this?
doctrine:ensure-production-settings
As soon as I set a command, there is no problem (for example bin/console list -e prod. The word prod is interpreted as the command instead of the value of the -e option.
Metadata
Metadata
Assignees
Labels
BugConsoleHelp wantedIssues and PRs which are looking for volunteers to complete them.Issues and PRs which are looking for volunteers to complete them.Status: Reviewed