Add G_OPTION_FLAG_REVERSE, to reverse the sense of a G_OPTION_ARG_NONE
authorTor Lillqvist <tml@iki.fi>
Thu, 4 Nov 2004 00:40:06 +0000 (00:40 +0000)
committerTor Lillqvist <tml@src.gnome.org>
Thu, 4 Nov 2004 00:40:06 +0000 (00:40 +0000)
commit5ddd4874a6bf6599a194bbc29b4f2b637e069ebb
tree53e6d48bc045e85a3eb9dc8e027b82bf7f0a9ae3
parent912ba0d43cf76ab76f338fb5beab98102da4d868
Add G_OPTION_FLAG_REVERSE, to reverse the sense of a G_OPTION_ARG_NONE

2004-11-04  Tor Lillqvist  <tml@iki.fi>

* glib/goption.h (enum GOptionFlags): Add G_OPTION_FLAG_REVERSE,
to reverse the sense of a G_OPTION_ARG_NONE (boolean) option.

* glib/goption.c (parse_arg): Obey the above flag.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/goption.c
glib/goption.h