This behavior is described in cxxopts docs. Proper way is
./test -m=false
Boolean option argument cannot be separated by a space, because the option needs to be used without an argument to specify true
value for a flag, making its argument indistinguishable from positional argument.