Boost logo

Boost Users :

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



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?


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at