seed r605 - in trunk: . libseed



Author: hortont
Date: Wed Dec 31 06:08:32 2008
New Revision: 605
URL: http://svn.gnome.org/viewvc/seed?rev=605&view=rev

Log:
Oh! Easy way to get help with GOption.


Modified:
   trunk/libseed/seed-engine.c
   trunk/ltmain.sh

Modified: trunk/libseed/seed-engine.c
==============================================================================
--- trunk/libseed/seed-engine.c	(original)
+++ trunk/libseed/seed-engine.c	Wed Dec 31 06:08:32 2008
@@ -1262,9 +1262,8 @@
 {
 	GOptionGroup *group;
 
-	group = g_option_group_new("seed",
-							   "Seed Options", "Show Seed Options", NULL, NULL);
-
+	group = g_option_group_new("seed", "Seed Options",
+							   "Show Seed Options", NULL, NULL);
 	g_option_group_add_entries(group, seed_args);
 
 	return group;
@@ -1279,7 +1278,7 @@
 
 	option_context = g_option_context_new(NULL);
 	g_option_context_set_ignore_unknown_options(option_context, TRUE);
-	g_option_context_set_help_enabled(option_context, FALSE);
+	g_option_context_set_help_enabled(option_context, TRUE);
 
 	/* Initiate any command line options from the backend */
 

Modified: trunk/ltmain.sh
==============================================================================
--- trunk/ltmain.sh	(original)
+++ trunk/ltmain.sh	Wed Dec 31 06:08:32 2008
@@ -65,7 +65,7 @@
 #       compiler:		$LTCC
 #       compiler flags:		$LTCFLAGS
 #       linker:		$LD (gnu? $with_gnu_ld)
-#       $progname:		(GNU libtool) 2.2.4 Debian-2.2.4-0ubuntu5
+#       $progname:		(GNU libtool) 2.2.4 Debian-2.2.4-0ubuntu4
 #       automake:		$automake_version
 #       autoconf:		$autoconf_version
 #
@@ -73,7 +73,7 @@
 
 PROGRAM=ltmain.sh
 PACKAGE=libtool
-VERSION="2.2.4 Debian-2.2.4-0ubuntu5"
+VERSION="2.2.4 Debian-2.2.4-0ubuntu4"
 TIMESTAMP=""
 package_revision=1.2976
 



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