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:35:02


Hi,
I still do not understand what are you meaning with "too many options".
Obviously, you can not intend "too many to remember by the user",
otherwise using a '+' would not solve your problem.

If you where limited to using '-' options, as in stadard posix getopt
function, then you could obviously run out of characters to use, more so
if you want the character to be meaningful (as -v for 'verbose' or -o
for 'output'). But '--' options are _long_ options, meaning that you
could write --verbose or --output.
How could you possibly run out of names for your options?

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