Boost logo

Boost Users :

Subject: Re: [Boost-users] Boost.Program_options: Parsing arguments like "+a" possible?
From: Leo Cacciari (leo.cacciari_at_[hidden])
Date: 2011-08-08 06:52:35


Il 08/08/2011 12:47 PM, boost_mailinglist_at_[hidden] ha scritto:

> Hello,
>
> the app is grown up step by step and a other person has taken the
> decission to use the "+" as a sign for an argument. (All the letters for
> the - are used.)
> My task is more or less to rewrite the old case() parser to a new one,
> possible based on boost.program_options, to get a clear structure. At
> the moment I'm not very interesting to change the argument style,
> because all the example and more has also to be change to the new style.
>
Well then I believe you're out of luck. AFAIK and as is stated in the
library documentation, start character for short options is - or / (the
latter to conform to windows usage).

-- 
Leo Cacciari
Aliae nationes servitutem pati possunt populi romani est propria libertas

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