Commit 3987e679 authored by Philip Withnall's avatar Philip Withnall

goption: Fix an annotation on g_option_context_parse_strv()

It’s `zero-terminated`, not `null-terminated` (yes, this is esoteric and
hard to remember).
Signed-off-by: Philip Withnall's avatarPhilip Withnall <withnall@endlessm.com>
parent 903ce7dc
...@@ -2659,7 +2659,7 @@ g_option_context_get_description (GOptionContext *context) ...@@ -2659,7 +2659,7 @@ g_option_context_get_description (GOptionContext *context)
/** /**
* g_option_context_parse_strv: * g_option_context_parse_strv:
* @context: a #GOptionContext * @context: a #GOptionContext
* @arguments: (inout) (array null-terminated=1): a pointer to the * @arguments: (inout) (array zero-terminated=1): a pointer to the
* command line arguments (which must be in UTF-8 on Windows) * command line arguments (which must be in UTF-8 on Windows)
* @error: a return location for errors * @error: a return location for errors
* *
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment