9 Mar
2005
9 Mar
'05
3:11 p.m.
Alexis H. Rivera-Rios wrote:
I think it's the library. But in any case, I plan to remove the 'implicit' flag in 1.33. Why do you want it? What about:
desc.add_options() ("debug", bool_option(), "enable debugging")
? - Volodya
Why do I wanted? No special reason, I was learning to use the library and got stuck on that one. The code didn't do what the documentation said it should do.
Ok.
I wasn't aware of the bool_option.
Actually, it's called 'bool_switch', sorry for the typo.
Will that let me do something like myprogram --debug
Yes, exactly this.
or will I have to do something like myprogram --debug=1 ?
And this won't be allowed. - Volodya