howetuft 0e22d19a11 Bug-790839 GApplication command line --help enhancements
In order to enrich information displayed by GApplication command line
handling when --help is invoked, 3 new methods are proposed:
. g_application_set_option_context_parameter_string
. g_application_set_option_context_summary
. g_application_set_option_context_description
Those methods interact with the GApplication's internal GOptionContext
which is created for command line parsing in g_application_parse_command_line.
(please refer to the GOptionContext class for more information about option
context, parameter string, summary and description.)

To illustrate the 3 methods, an example is provided:
. gapplication-example-cmdline4.c
2018-01-03 11:08:37 +00:00
..
2017-07-13 19:03:39 -04:00
2013-10-17 10:12:27 -04:00
2016-07-01 16:01:34 -04:00
2011-12-08 18:05:12 -05:00
2011-12-08 18:05:12 -05:00
2013-01-01 10:25:07 -05:00
2016-07-16 20:32:16 -04:00