Closed

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.