Function

GPluginget_option_group

Declaration [src]

GOptionGroup*
gplugin_get_option_group (
  void
)

Description [src]

Returns an option group for the commandline arguments recognized by GPlugin.

You should add this option group to your GOptionContext with g_option_context_add_group(), if you are using g_option_context_parse() to parse your commandline arguments.

If gplugin_init() has yet to be called before g_option_context_parse() is called, gplugin_init() will be called automatically.

Return value

Returns: GOptionGroup
 

An option group for the commandline arguments recognized by GPlugin.

 The caller of the function takes ownership of the data, and is responsible for freeing it.