29 Apr
2010
29 Apr
'10
3:55 p.m.
That is caused be the ability for you to specify shorter names for the longer versions on the command line, for some causes (such as yours), you want to disable it. I do not know the command to do that, but it was on the mailing list not far back as I recall (probably/hopefully in the docs too). I cannot look it up at the moment, on my phone.
Ah, yes - I found it. This solved my problem: po::store(po::command_line_parser(argc, argv) .options(desc) .style(po::command_line_style::default_style ^ po::command_line_style::allow_guessing) .allow_unregistered() .run(), vm); Thanks! -Michael