mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2024-11-10 03:16:17 +01:00
don't replace the usage line with the description for optional parameters,
2007-06-05 Vincent Untz <vuntz@gnome.org> * glib/goption.c: (g_option_context_get_help): don't replace the usage line with the description for optional parameters, but append the description. (#444130) svn path=/trunk/; revision=5534
This commit is contained in:
parent
8c2f0b709f
commit
cc4b0a5452
@ -1,3 +1,9 @@
|
||||
2007-06-05 Vincent Untz <vuntz@gnome.org>
|
||||
|
||||
* glib/goption.c: (g_option_context_get_help): don't replace the usage
|
||||
line with the description for optional parameters, but append the
|
||||
description. (#444130)
|
||||
|
||||
2007-06-04 Matthias Clasen <mclasen@redhat.com>
|
||||
|
||||
* configure.in: Bump version
|
||||
|
@ -573,14 +573,14 @@ g_option_context_get_help (GOptionContext *context,
|
||||
|
||||
if (rest_description)
|
||||
{
|
||||
g_string_printf (string, " ");
|
||||
g_string_printf (string, rest_description);
|
||||
g_string_append (string, " ");
|
||||
g_string_append (string, rest_description);
|
||||
}
|
||||
|
||||
if (context->parameter_string)
|
||||
{
|
||||
g_string_printf (string, " ");
|
||||
g_string_printf (string, TRANSLATE (context, context->parameter_string));
|
||||
g_string_append (string, " ");
|
||||
g_string_append (string, TRANSLATE (context, context->parameter_string));
|
||||
}
|
||||
|
||||
g_string_append (string, "\n\n");
|
||||
|
Loading…
Reference in New Issue
Block a user