[Spice-devel] [PATCH] Remove incorrect option context from spicy-stats
Uri Lublin
uril at redhat.com
Tue Aug 27 01:11:24 PDT 2013
On 08/26/2013 11:38 PM, Jonathon Jongsma wrote:
> The argument given to g_option_context_new() was apparently copy/pasted from
> spicy-screenshot and therefore inaccurate for spicy-stats. Since the actual
> description of the program (from _set_summary()) is displayed on the next line
> anyway, simply make the context NULL.
> ---
> gtk/spicy-stats.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/gtk/spicy-stats.c b/gtk/spicy-stats.c
> index 331e5e2..f176ead 100644
> --- a/gtk/spicy-stats.c
> +++ b/gtk/spicy-stats.c
> @@ -95,7 +95,7 @@ int main(int argc, char *argv[])
> textdomain(GETTEXT_PACKAGE);
>
> /* parse opts */
> - context = g_option_context_new(_(" - make screen shots"));
> + context = g_option_context_new(NULL);
> g_option_context_set_summary(context, _("A Spice client used for testing and measurements."));
> g_option_context_set_description(context, _("Report bugs to " PACKAGE_BUGREPORT "."));
> g_option_context_set_main_group(context, spice_cmdline_get_option_group());
Ack.
More information about the Spice-devel
mailing list