Commit a9fa61a1 authored by Committed by Matthias Clasen
Add tests for the handling of non-option arguments, "--" and
2004-10-29 Matthias Clasen <firstname.lastname@example.org> * tests/option-test.c: Add tests for the handling of non-option arguments, "--" and G_OPTION_REMAINING. * glib/goption.[hc]: #define G_OPTION_REMAINING, which is a special long option name, which can be used for an option in the main group which collects the non-option arguments. It must be of type G_OPTION_ARG_STRING_ARRAY or G_OPTION_ARG_FILENAME_ARRAY. If the main group doesn't contain an option whose name is G_OPTION_REMAINING, the non-option arguments are left behind in argv as before.
Showing with 304 additions and 10 deletions