mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-12 23:46:17 +01:00
parent
5db9e5ad58
commit
a35efb0939
@ -33,16 +33,14 @@ group_captions (void)
|
|||||||
gchar *help_variants[] = { "--help", "--help-all", "--help-test" };
|
gchar *help_variants[] = { "--help", "--help-all", "--help-test" };
|
||||||
|
|
||||||
GOptionEntry main_entries[] = {
|
GOptionEntry main_entries[] = {
|
||||||
{ "main-switch", 0,
|
{ "main-switch", 0, 0,
|
||||||
G_OPTION_FLAG_NO_ARG,
|
|
||||||
G_OPTION_ARG_NONE, NULL,
|
G_OPTION_ARG_NONE, NULL,
|
||||||
"A switch that is in the main group", NULL },
|
"A switch that is in the main group", NULL },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
};
|
};
|
||||||
|
|
||||||
GOptionEntry group_entries[] = {
|
GOptionEntry group_entries[] = {
|
||||||
{ "test-switch", 0,
|
{ "test-switch", 0, 0,
|
||||||
G_OPTION_FLAG_NO_ARG,
|
|
||||||
G_OPTION_ARG_NONE, NULL,
|
G_OPTION_ARG_NONE, NULL,
|
||||||
"A switch that is in the test group", NULL },
|
"A switch that is in the test group", NULL },
|
||||||
{ NULL }
|
{ NULL }
|
||||||
|
Loading…
Reference in New Issue
Block a user