Currently (last I tested) program options when used with variable map will set 
bool options to false even though they were not specified on the command 
line.  What I'd prefer is that all options be left alone unless they are set 
on the command line.  I've been bitten by this unexpected behaviour.  (I set 
bool option = true, then use

parse_command_line(argc, argv, desc);
    variables_map vm;
    store(opts, vm, desc);

And my bool option winds up set false even though nothing was specified on the 
command line.

_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost

Reply via email to