Boost logo

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:
(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.


Brian Lawry
Mfg Software Engineer
Compressor Controls Corp

Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at