Commit 57f85072 authored by Committed by Matthias Clasen
Handle conflicts between options in different groups. (#156808)
2004-11-01 Matthias Clasen <firstname.lastname@example.org> Handle conflicts between options in different groups. (#156808) * glib/goption.c (g_option_context_parse): When a long option does not match exactly, try to parse it as --group-option. (g_option_context_add_group): Warn if a group name conflict occurs. * glib/goption.c (print_help): Print out the effective options, ie don't print shadowed short options, and for long options print --group-option instead of --option if appropriate.
Showing with 146 additions and 4 deletions