fix problem with parseflags ignoring -option=0