One can replace arg
with something different via the global variable
boost::program_options::arg
:
boost::program_options::arg = "NUM";
But as that is a global variable, it doesn't help much to fix the problem when multiple option might require different arguments.