Add -g and -b options to match subcommand

Signed-off-by: Joerg Roedel <jroedel@suse.de>
Add support for matching tags

Signed-off-by: Joerg Roedel <jroedel@suse.de>