Boost logo

Boost Users :

From: Kobi Cohen-Arazi (kobi.cohenarazi_at_[hidden])
Date: 2006-05-12 10:58:51


Hi,

boost-1.32.0-6

I've tried to find in the program_options docs how to specify a regular
boolean switch. If I use <bool>, it still demand putting something

That's what I would like to have
./prog -t

and not
./prog -t1

Right now, when using <bool> it will throw an exception if I'm not using the
-t1 notation.

Am I missing here something?

Thanks,
Kobi.



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