If arg type is GLib.OptionArg.STRING or GLib.OptionArg.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().
Likewise if arg type is GLib.OptionArg.STRING_ARRAY or
GLib.OptionArg.FILENAME_ARRAY, the data should be freed using g_strfreev().
A GOptionEntry struct defines a single option. To have an effect, they
must be added to a GLib.OptionGroup with g_option_context_add_main_entries()
or g_option_group_add_entries().
GLib.OptionArg.NONE: %gboolean
If
argtype is GLib.OptionArg.STRING or GLib.OptionArg.FILENAME, the location will contain a newly allocated string if the option was given. That string needs to be freed by the callee usingg_free(). Likewise ifargtype is GLib.OptionArg.STRING_ARRAY or GLib.OptionArg.FILENAME_ARRAY, the data should be freed usingg_strfreev(). A GOptionEntry struct defines a single option. To have an effect, they must be added to a GLib.OptionGroup withg_option_context_add_main_entries()org_option_group_add_entries().