cheese r1111 - in branches/gnome-2-24: . src
- From: dgsiegel svn gnome org
- To: svn-commits-list gnome org
- Subject: cheese r1111 - in branches/gnome-2-24: . src
- Date: Mon, 13 Oct 2008 19:58:41 +0000 (UTC)
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]