mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-08-13 20:47:46 +02:00
Don't print help options if the options of a specific group have been
2004-12-09 Matthias Clasen <mclasen@redhat.com> * glib/goption.c (print_help): Don't print help options if the options of a specific group have been requested. (#160645, Glynn Foster)
This commit is contained in:
committed by
Matthias Clasen
parent
10632e416f
commit
4f402e2489
@@ -1,3 +1,9 @@
|
|||||||
|
2004-12-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (print_help): Don't print help options
|
||||||
|
if the options of a specific group have been
|
||||||
|
requested. (#160645, Glynn Foster)
|
||||||
|
|
||||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_language_names): Update the returned
|
* glib/gutils.c (g_get_language_names): Update the returned
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
2004-12-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (print_help): Don't print help options
|
||||||
|
if the options of a specific group have been
|
||||||
|
requested. (#160645, Glynn Foster)
|
||||||
|
|
||||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_language_names): Update the returned
|
* glib/gutils.c (g_get_language_names): Update the returned
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
2004-12-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (print_help): Don't print help options
|
||||||
|
if the options of a specific group have been
|
||||||
|
requested. (#160645, Glynn Foster)
|
||||||
|
|
||||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_language_names): Update the returned
|
* glib/gutils.c (g_get_language_names): Update the returned
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
2004-12-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (print_help): Don't print help options
|
||||||
|
if the options of a specific group have been
|
||||||
|
requested. (#160645, Glynn Foster)
|
||||||
|
|
||||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_language_names): Update the returned
|
* glib/gutils.c (g_get_language_names): Update the returned
|
||||||
|
@@ -1,3 +1,9 @@
|
|||||||
|
2004-12-09 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* glib/goption.c (print_help): Don't print help options
|
||||||
|
if the options of a specific group have been
|
||||||
|
requested. (#160645, Glynn Foster)
|
||||||
|
|
||||||
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
2004-12-07 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* glib/gutils.c (g_get_language_names): Update the returned
|
* glib/gutils.c (g_get_language_names): Update the returned
|
||||||
|
@@ -483,6 +483,8 @@ print_help (GOptionContext *context,
|
|||||||
/* Add a bit of padding */
|
/* Add a bit of padding */
|
||||||
max_length += 4;
|
max_length += 4;
|
||||||
|
|
||||||
|
if (!group)
|
||||||
|
{
|
||||||
list = context->groups;
|
list = context->groups;
|
||||||
|
|
||||||
g_print ("%s\n --%-*s %s\n",
|
g_print ("%s\n --%-*s %s\n",
|
||||||
@@ -502,6 +504,7 @@ print_help (GOptionContext *context,
|
|||||||
}
|
}
|
||||||
|
|
||||||
g_print ("\n");
|
g_print ("\n");
|
||||||
|
}
|
||||||
|
|
||||||
if (group)
|
if (group)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user