get_help_text


Description:

public string? get_help_text (string help_text, string program_name, OptionContext opt_context)

Returns custom help text for this application. If 'help' property is set, outputs it (with {ARG} replaced) followed by auto-generated options from GLib's OptionContext.

Parameters:

help_text

Custom help text (may contain {ARG} placeholder)

program_name

The program name (args[0]) to use in help text

opt_context

OptionContext to extract options from

Returns:

Custom help text string, or null if help_text is empty