$include_dir="/home/hyper-archives/boost-users/include"; include("$include_dir/msg-header.inc") ?>
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