|
Boost Users : |
Subject: Re: [Boost-users] program option::force to suppy only short name
From: Bob Wilkinson (rwilkinson_at_[hidden])
Date: 2008-10-09 09:29:44
On Thu, Oct 09, 2008 at 05:01:18PM +0530, Lloyd wrote:
> Hi,
>
> I am using boost program options library
>
> Can I supply only "short names"
>
> eg.
>
> options_desctiprion desc("sample");
> desc.add_options()
>
> ("help,h","display help")
> (",c","compress")
> ;
>
> in the case of option "c" we don't want to allow the user to supply a
> long name. Howe can we do this?
>
Hi Lloyd
Just guessing. but what would
("c,c","compress")
do?
Bob
> Thanks,
> Lloyd
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