setHelpEnabled

fun setHelpEnabled(helpEnabled: Boolean)

Enables or disables automatic generation of --help output. By default, g_option_context_parse() recognizes --help, -h, -?, --help-all and --help-groupname and creates suitable output to stdout.

Since

2.6

Parameters

helpEnabled

true to enable --help, false to disable it