Package: glib

Function glib:option-context-add-group

Lambda List

glib:option-context-add-group (context group)

Arguments

context -- a g:option-context instance
group -- a g:option-group instance to add

Details

Adds a g:option-group instance to the option context, so that parsing with the option context will recognize the options in the group. Note that the group will be freed together with the option context when the g:option-context-free function is called, so you must not free the group yourself after adding it to an option context.
 

See also

#2024-11-19