GLib.OptionContext.prototype.get_help_enabled

function get_help_enabled(): Boolean {
    // Gjs wrapper for g_option_context_get_help_enabled()
}
  

Returns whether automatic `--help` generation is turned on for context. See GLib.OptionContext.prototype.set_help_enabled.

Since 2.6

Returns

true if automatic help generation is turned on.