OptionContext.addMainEntries
void addMainEntries(glib.types.OptionEntry[] entries, string translationDomain = null)A convenience function which creates a main group if it doesn't exist, adds the entries to it and sets the translation domain.
Parameters
entries | a null-terminated array of #GOptionEntrys |
translationDomain | a translation domain to use for translating the --help output for the options in entries with gettext(), or null |