Boost logo

Boost Users :

Subject: Re: [Boost-users] [Program_options] Custom <arg>
From: Vladimir Prus (ghost_at_[hidden])
Date: 2010-04-21 05:03:49


Bo Jensen wrote:
> Hi,
> Can anyone point me to a working example of replacing the arguments in
> program_options i.e :
>
> --someoption <arg>
>
> so I would like to replace <arg>.

It's not possible without rewriting operator<<, more or less. I suggest you use
the description for the option to say what arg can be.

- Volodya


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