Boost logo

Boost Users :

Subject: Re: [Boost-users] [Program Options] Positional args in help message
From: PB (newbarker_at_[hidden])
Date: 2010-11-10 05:38:12


On Fri, Jul 31, 2009 at 5:09 PM, Vladimir Prus
<vladimir_at_[hidden]> wrote:
> Lindley M French wrote:
>
>> The examples for how to use positional arguments are great and seem to work fine. However, I'm
>> wondering if there's an automatic way to include that information in the help message.
>>
>> In particular, since the tutorial goes to the trouble of telling you how to exclude the positional
>> options from the options help, it would be nice to know what to replace it with.
>>
>> I could manually write a line detailing the usage before outputting the options description, of
>> course, but I was wondering if there was anything in PO to handle this automatically.
>
> I am afraid this is not presently supported. Patches welcome :-)

Am I correct that this hasn't been done? I'm evaluating the library at
the moment and have just noticed the help message doesn't appear to
document the positional arguments.

Regards,

Pete


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