GOptionContext: Warn about invalid arg/flag combinations
authorMatthias Clasen <mclasen@redhat.com>
Fri, 25 Feb 2011 15:10:37 +0000 (10:10 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 25 Feb 2011 15:10:37 +0000 (10:10 -0500)
commit52ef73ac8c40ea2a8ca80cf96d52a836bcaf76c2
tree4c9e6eccc024cbbd770be326db804d54a3d29ba5
parentee9e38ef6850ef1ce8da683425621898a35d5b5f
GOptionContext: Warn about invalid arg/flag combinations

This was proposed by Kjell Ahlstedt in bug 642825.
Also adding a few tests for this new behaviour.
glib/goption.c
glib/tests/option-context.c