Boost logo

Boost Users :

From: Vladimir Prus (ghost_at_[hidden])
Date: 2006-04-24 05:31:16


On Monday 24 April 2006 13:13, Olaf van der Spek wrote:

[I CC boost-users mailing list, where this discussion originates]

> > > There also seem to be 'typos' in some comments. Should I report those
> > > to you too?
> >
> > Yes, please.
> >
> > > And what about:
> > > Is it possible to allow long options without -- prefix?
> > > The code doesn't seem to support it, but I think it's handy in cases
> > > where positional options aren't used.
> >
> > Did you try 'allow_long_disguise' style option?
>
> No, but isn't that with a "-" prefix? I'd like no prefix at all.

Hmm, never though this will be requested. Anyway, it's possible with a custom
style parser, as the attached example shows. For me, both:

  extra3 test=10

and

  extra3 test 10

work.

HTH,
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