Bash completion: fix comletion for format classes

This was broken since --list=hidden-options included --costs=
and/or --bare-always-valid= options (both of them use mutliple
lines of text).