From d5658725bf1c8cf7a705ca15e4fdd9b28939dd7e Mon Sep 17 00:00:00 2001 From: Matthew Barnes Date: Mon, 3 Oct 2011 18:25:01 -0400 Subject: Bug 660799 - Bad GOptionEntry in evolution-addressbook-export G_OPTION_FLAG_FILENAME is only for G_OPTION_ARG_CALLBACK options. --- addressbook/tools/evolution-addressbook-export.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'addressbook') diff --git a/addressbook/tools/evolution-addressbook-export.c b/addressbook/tools/evolution-addressbook-export.c index 5460c5a8bd..33d840ec5e 100644 --- a/addressbook/tools/evolution-addressbook-export.c +++ b/addressbook/tools/evolution-addressbook-export.c @@ -55,7 +55,7 @@ static gint opt_file_size = 0; static gchar **opt_remaining = NULL; static GOptionEntry entries[] = { - { "output", '\0', G_OPTION_FLAG_FILENAME, + { "output", '\0', 0, G_OPTION_ARG_STRING, &opt_output_file, N_("Specify the output file instead of standard output"), N_("OUTPUTFILE") }, -- cgit v1.2.3