cheese r1111 - in branches/gnome-2-24: . src



Author: dgsiegel
Date: Mon Oct 13 19:58:41 2008
New Revision: 1111
URL: http://svn.gnome.org/viewvc/cheese?rev=1111&view=rev

Log:
enhance the previous patch (again)


Modified:
   branches/gnome-2-24/ChangeLog
   branches/gnome-2-24/src/cheese.c

Modified: branches/gnome-2-24/src/cheese.c
==============================================================================
--- branches/gnome-2-24/src/cheese.c	(original)
+++ branches/gnome-2-24/src/cheese.c	Mon Oct 13 19:58:41 2008
@@ -183,7 +183,7 @@
   g_option_context_add_group (context, gst_init_get_option_group ());
   if (g_option_context_parse (context, &argc, &argv, &error) == FALSE) {
     gchar *help_text = g_option_context_get_help (context, TRUE, NULL);
-    g_print ("%s", help_text);
+    g_print ("%s\n\n%s", error->message, help_text);
     g_free (help_text);
     g_error_free (error);
     g_option_context_free (context);



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