plugin symfony2 sf2.7 compatibility fix

with symfony 2.7 command group titles are listed as commands. this commit prevents it.
This commit is contained in:
fgibaux 2015-08-18 14:19:40 +02:00
parent 192de6bcff
commit a9daea17d8

View File

@ -5,7 +5,7 @@ _symfony_console () {
}
_symfony2_get_command_list () {
`_symfony_console` --no-ansi | sed "1,/Available commands/d" | awk '/^ ?[a-z]+/ { print $1 }'
`_symfony_console` --no-ansi | sed "1,/Available commands/d" | awk '/^ ?[^ ]+ / { print $1 }'
}
_symfony2 () {