Accept flag strings correctly