Add a way to unset boolean flags

Bug #1584423 reported by Mike Doherty
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
gnuflag
New
Undecided
Unassigned

Bug Description

The documentation currently says "There is currently no way to turn off a boolean flag." There should be a way: --nofoo.

gnuflag.BoolVar(&var, "foo", true, "enable the Foo feature, or use --nofoo to disable")

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.