If given caps == 0, report back all supported caps vs error.

Also remove random whitespace, add missing else block, remove extra assignment to fi->caps.
huh?