goption: g_option_context_new allows NULL for parameter_string
authorChristian Persch <chpe@gnome.org>
Mon, 18 Mar 2013 13:01:28 +0000 (14:01 +0100)
committerChristian Persch <chpe@gnome.org>
Mon, 18 Mar 2013 13:11:05 +0000 (14:11 +0100)
glib/goption.c

index c38c163..e33f992 100644 (file)
@@ -276,7 +276,7 @@ G_DEFINE_QUARK (g-option-context-error-quark, g_option_error)
 
 /**
  * g_option_context_new:
- * @parameter_string: a string which is displayed in
+ * @parameter_string: (allow-none): a string which is displayed in
  *    the first line of <option>--help</option> output, after the
  *    usage summary
  *    <literal><replaceable>programname</replaceable> [OPTION...]</literal>