OptionContext.setMainGroup

Sets a glib.OptionGroup as main group of the context. This has the same effect as calling OptionContext.addGroup, the only difference is that the options in the main group are treated differently when generating --help output.

class OptionContext
void
setMainGroup

Parameters

group OptionGroup

the group to set as main group

Meta