vsh: Deduplicate filtering in vshReadlineOptionsGenerator()
vsh: Deduplicate filtering in vshReadlineOptionsGenerator()

Completer callbacks generate all possible outputs ignoring any partial
input (e.g. prefix of a domain name) and then use vshCompleterFilter() to
filter out those strings which don't fit the partial input (prefix).

In contrast, vshReadlineOptionsGenerator() does some internal filtering and
only generates completions that match a given prefix. Rather than treating
these scenarios differently, simply generate all possible options and
filter them all at the end.

Signed-off-by: Michal Privoznik <83d82aaba2eed257f4814b0c239c260c4caaadf0@redhat.com>
Reviewed-by: Jonathon Jongsma <c7254805a17bd5c41e24c3a278fcbf3afcdfb0fa@redhat.com>

libvirt/libvirt,zippy2/libvirt,olafhering/libvirt,olafhering/libvirt,nertpinx/libvirt,zippy2/libvirt,jfehlig/libvirt,olafhering/libvirt,libvirt/libvirt,zippy2/libvirt,jfehlig/libvirt,nertpinx/libvirt,nertpinx/libvirt,zippy2/libvirt,nertpinx/libvirt,crobinso/libvirt,jfehlig/libvirt,crobinso/libvirt,jfehlig/libvirt,nertpinx/libvirt,crobinso/libvirt,libvirt/libvirt,libvirt/libvirt,olafhering/libvirt,crobinso/libvirt