Handle option contexts without a main group.
authorAnders Carlsson <andersca@gnome.org>
Wed, 1 Sep 2004 17:31:43 +0000 (17:31 +0000)
committerAnders Carlsson <andersca@src.gnome.org>
Wed, 1 Sep 2004 17:31:43 +0000 (17:31 +0000)
commit338d949559aa1b8b6c8fb197f87662dc19a66dde
treed90d0ace70d67c058b2bb6a73ac158b343c7dc9e
parent7f760a91083b9d82290dbec41eff021cf90f39bd
Handle option contexts without a main group.

2004-09-01  Anders Carlsson  <andersca@gnome.org>

* glib/goption.c: (g_option_context_free), (print_help),
(g_option_context_parse):
Handle option contexts without a main group.

* tests/option-test.c: (empty_test2), (main):
Add test case for that.
ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/goption.c
tests/option-test.c