Boost logo

Boost Users :

From: Chris Hoeppler (hoeppler_at_[hidden])
Date: 2006-08-23 18:50:15


I'd suppose you'll get what you're after if you combine the
allow_slash_for_short with the allow_long_disguise style.

Chris

> Thanks Chris. I had a look and there is a allow_slash_for_short option
> but there doesn't seem to be an allow_slash_for_long. Can anyone
> confirm this?
>
> Simon
>
> Chris Hoeppler wrote:
> > Yes, I think there is. You can specify the commandline style with
> > boost::program_options::command_line_style::style_t (cf. documentation)
> >
> > HTH,
> >
> > Chris
> >
> > On Thursday 17 August 2006 04:29, Simon Reye wrote:
> >> Is there any way to support the Microsoft 'standard' for command line
> >> options i.e '/' instead of '-'. We've got legacy code that requires
> >> command line options to be in this format while at the same time
> >> attempting to implement boost in a lot of our new code.
> >>
> >> Simon


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