Document that this function may not return.
authorMatthias Clasen <mclasen@redhat.com>
Tue, 2 Nov 2004 05:11:10 +0000 (05:11 +0000)
committerMatthias Clasen <matthiasc@src.gnome.org>
Tue, 2 Nov 2004 05:11:10 +0000 (05:11 +0000)
2004-11-02  Matthias Clasen  <mclasen@redhat.com>

* glib/goption.c (g_option_context_parse): Document that
this function may not return.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/goption.c

index 84654c2..272167b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-11-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (g_option_context_parse): Document that
+       this function may not return.
+
 2004-11-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Make gtkdoc-scan happy by removing spaces
index 84654c2..272167b 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (g_option_context_parse): Document that
+       this function may not return.
+
 2004-11-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Make gtkdoc-scan happy by removing spaces
index 84654c2..272167b 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (g_option_context_parse): Document that
+       this function may not return.
+
 2004-11-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Make gtkdoc-scan happy by removing spaces
index 84654c2..272167b 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (g_option_context_parse): Document that
+       this function may not return.
+
 2004-11-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Make gtkdoc-scan happy by removing spaces
index 84654c2..272167b 100644 (file)
@@ -1,3 +1,8 @@
+2004-11-02  Matthias Clasen  <mclasen@redhat.com>
+
+       * glib/goption.c (g_option_context_parse): Document that
+       this function may not return.
+
 2004-11-01  Matthias Clasen  <mclasen@redhat.com>
 
        * glib/gutils.h: Make gtkdoc-scan happy by removing spaces
index 960a097..35a4e3d 100644 (file)
@@ -1056,6 +1056,12 @@ free_pending_nulls (GOptionContext *context,
  * removed from the array and @argc and @argv are updated 
  * accordingly. In case of an error, @argc and @argv are
  * left unmodified.
+ *
+ * If automatic <option>--help</option> support is enabled
+ * (see g_option_context_set_help_enabled()), and the 
+ * @argv array contains one of the recognized help options,
+ * this function will produce help output to stdout and
+ * call <literal>exit (0)</literal>.
  * 
  * Return value: %TRUE if the parsing was successful, 
  *               %FALSE if an error occurred