fix(symfony2): silence debug lines in command completion (#10528)

This commit is contained in:
Benoit Foujols 2021-12-23 19:47:50 +01:00 committed by GitHub
parent 98a916b2cf
commit 7546ded93b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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