Boost logo

Boost Users :

Subject: Re: [Boost-users] program option::force to suppy only short name
From: Lloyd (lloyd_at_[hidden])
Date: 2008-10-09 23:49:08


Hi Bob,

Thank you very much. You gave a me a good solution.

Regards,
 Lloyd

On Thu, 2008-10-09 at 14:29 +0100, Bob Wilkinson wrote:
> 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 mailing list
> Boost-users_at_[hidden]
> http://lists.boost.org/mailman/listinfo.cgi/boost-users

______________________________________
Scanned and protected by Email scanner


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