OptionContext.addGroup

Adds a GOptionGroup to the context, so that parsing with context will recognize the options in the group. Note that the group will be freed together with the context when g_option_context_free() is called, so you must not free the group yourself after adding it to a context. Since 2.6

class OptionContext
void
addGroup

Parameters

group OptionGroup

the group to add

Meta