Interpret -nofoo as -foo=0 and -nofoo=0 as -foo=1