OptionContext.getMainGroup

Returns a pointer to the main group of context.

Returns

the main group of context, or null if

context doesn't have a main group. Note that group belongs to context and should not be modified or freed.