diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2023-08-21 11:34:27 +0100 |
---|---|---|
committer | Philip Withnall <philip@tecnocode.co.uk> | 2023-08-21 11:34:27 +0100 |
commit | 22752a51c5a06af0309ef650969fd0de2becb6df (patch) | |
tree | 3638bc9ed95171e6b86ebb349349b7c4569d4158 | |
parent | 943972facf5dc182fc57b90af31d7010be59003c (diff) | |
download | glib-22752a51c5a06af0309ef650969fd0de2becb6df.tar.gz |
goption: Fix list formatting in documentation comment
Not actually tested, but hopefully this will work.
Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>
Fixes: #3083
-rw-r--r-- | glib/goption.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/glib/goption.h b/glib/goption.h index 739311f6e..dcb0e554c 100644 --- a/glib/goption.h +++ b/glib/goption.h @@ -234,13 +234,13 @@ GQuark g_option_error_quark (void); * called to handle the extra argument. Otherwise, @arg_data is a * pointer to a location to store the value, the required type of * the location depends on the @arg type: - * - %G_OPTION_ARG_NONE: %gboolean - * - %G_OPTION_ARG_STRING: %gchar* - * - %G_OPTION_ARG_INT: %gint - * - %G_OPTION_ARG_FILENAME: %gchar* - * - %G_OPTION_ARG_STRING_ARRAY: %gchar** - * - %G_OPTION_ARG_FILENAME_ARRAY: %gchar** - * - %G_OPTION_ARG_DOUBLE: %gdouble + * - %G_OPTION_ARG_NONE: %gboolean + * - %G_OPTION_ARG_STRING: %gchar* + * - %G_OPTION_ARG_INT: %gint + * - %G_OPTION_ARG_FILENAME: %gchar* + * - %G_OPTION_ARG_STRING_ARRAY: %gchar** + * - %G_OPTION_ARG_FILENAME_ARRAY: %gchar** + * - %G_OPTION_ARG_DOUBLE: %gdouble * If @arg type is %G_OPTION_ARG_STRING or %G_OPTION_ARG_FILENAME, * the location will contain a newly allocated string if the option * was given. That string needs to be freed by the callee using g_free(). |