[PATCH] Remove incorrect option context from spicy-stats

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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());
-- 
1.8.3.1

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
http://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]