Boost logo

Boost Users :

Subject: [Boost-users] [program_options] Parsing config files
From: Michael Powell (mwpowellhtx_at_[hidden])
Date: 2013-08-08 11:07:10


Hello,

Need a little help grasping the nature of parse_config_file.

The example: http://www.boost.org/doc/libs/1_54_0/doc/html/program_options/tutorial.html#idp123313264
also seems a bit lacking: says that there are two calls to store, but
I only see one. Maybe the example has not been updated?

What I need to know is, if we specify some options, do we specify the
same option names in a config file?

So that if we have an option on the command like like:
--my-option-name 1234, then the corresponding line in the config file
would go: my-option-name=1234 ?

Thank you.

Regards,

Michael Powell


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net