[Goodies-commits] r4580 - xfce4-dict/trunk/src
Enrico Troeger
enrico at xfce.org
Tue Apr 15 16:02:18 CEST 2008
Author: enrico
Date: 2008-04-15 14:02:18 +0000 (Tue, 15 Apr 2008)
New Revision: 4580
Modified:
xfce4-dict/trunk/src/xfce4-dict.c
Log:
Add long option name for custom help to fix segfaults on startup.
Modified: xfce4-dict/trunk/src/xfce4-dict.c
===================================================================
--- xfce4-dict/trunk/src/xfce4-dict.c 2008-04-15 14:02:15 UTC (rev 4579)
+++ xfce4-dict/trunk/src/xfce4-dict.c 2008-04-15 14:02:18 UTC (rev 4580)
@@ -50,7 +50,7 @@
static GOptionEntry cli_options[] =
{
#if GLIB_CHECK_VERSION(2,14,0)
- { "", 'h', 0, G_OPTION_ARG_NONE, &show_help, "dummy", NULL },
+ { "help", 'h', 0, G_OPTION_ARG_NONE, &show_help, _("Show help options"), NULL },
#endif
{ "dict", 'd', 0, G_OPTION_ARG_NONE, &mode_dict, N_("Search the given text using a Dict server(RFC 2229)"), NULL },
{ "web", 'w', 0, G_OPTION_ARG_NONE, &mode_web, N_("Search the given text using a web-based search engine"), NULL },
More information about the Goodies-commits
mailing list