@dbarnett Done.

This logic is the ugliest part of the pull req. Maybe there is an obvious more elegant way, but I can't see it. The goal is to parse the flag handle, but fall back on "plain" completion (just the potential partial flag name, no foci) when this fails.