Boost logo

Boost Users :

Subject: Re: [Boost-users] [Program options] changing output format of options_description
From: Anthony Foglia (AFoglia_at_[hidden])
Date: 2009-08-13 10:38:12


        I second this request. I've had need for the same thing. If you
create a feature request on the bug tracker, I'll add my vote.

Roman Shmelev wrote:
> I'm using boost::program_options and my program obtains many parameters.
> When name or default value of param is long, I get smth like this while
> trying to
>
> cout << desc_obj;
>
> fullname-of-important-file, f (=/fold1/fold2/fold3/file.ext) The description
> if so narrow :(
> And I wish if
> it was like
> this:
>
> fullname-of-important-file, f (=/fold1/fold2/fold3/file.ext)
> The description is here. Such formatting is much more beautiful, IMHO.
> [empty line?]
> another-param (=value)
> Another long long long long description
>
> Is there any way to do this? some switcher..

-- 
Anthony Foglia
Princeton Consultants
(609) 987-8787 x233

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