OptionContext.setHelpEnabled

Enables or disables automatic generation of --help output. By default, glib.option_context.OptionContext.parse recognizes --help, -h, -?, --help-all and --help-groupname and creates suitable output to stdout.

class OptionContext
void
setHelpEnabled

Parameters

helpEnabled bool

true to enable --help, false to disable it