GLib.OptionContext.prototype.set_summary

function set_summary(summary: String): void {
    // Gjs wrapper for g_option_context_set_summary()
}
  

Adds a string to be displayed in `--help` output before the list of options. This is typically a summary of the program functionality.

Note that the summary is translated (see GLib.OptionContext.prototype.set_translate_func and GLib.OptionContext.prototype.set_translation_domain).

Since 2.12

summary

a string to be shown in `--help` output before the list of options, or null