This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

Shell Console component -v flag problem?

New topics about Symfony 2 should go here

Shell Console component -v flag problem?

by tygerlord » Fri May 08, 2015 11:50 am

Hy

I get in trouble using shell console, if I set -v flag on one command,
OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()
is true, that's ok

But next commands without the flag -v the result of
OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()
is always true

In fact -v flag is sticky and not reset beetwin commands,

Does this work same for other or is just because I use wrong the component?

Regards,
tygerlord
Junior Member
 
Posts: 1
Joined: Fri May 08, 2015 11:40 am