Fix silent failure issue with short (<4 chars) flags.