OptionContext.setSummary

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 OptionContext.setTranslateFunc and OptionContext.setTranslationDomain).

class OptionContext
void
setSummary
(
string summary
)

Parameters

summary string

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

Meta

Since

2.12