|
Boost Users : |
From: Lawry, Brian (blawry_at_[hidden])
Date: 2005-08-04 12:59:43
> Matthias Kaeppler wrote:
>> Hi,
>> the program_options reference talks about
>> being able to parse config files, but
>> doesn't mention a thing about its layout.
>> No examples are shown how a file has to
>> look like to be parsable by program_options.
Example layout:
..\libs\program_options\example\multiple_sources.cfg
(used by multiple_sources.cpp in same directory).
>> Any ideas? Besides the layout, which characters
>> are treated as comments?
> Anyone?
> Matthias Kaeppler
The only character I've found that indicates a comment
is the '#' (pound/hash/sharp).
One other thing I've noticed is that the option names
are case-sensitive, at least by default.
HTH.
Brian Lawry
Mfg Software Engineer
Compressor Controls Corp
blawry_at_[hidden]
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