aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2011-10-04 06:25:01 +0800
committerMatthew Barnes <mbarnes@redhat.com>2011-10-04 06:25:01 +0800
commitd5658725bf1c8cf7a705ca15e4fdd9b28939dd7e (patch)
tree0ac71b9ba26d05ed79fe596c22b516215ae55c43
parent66b27b7ccfab11613022d0b534bf3f325ee207d7 (diff)
downloadgsoc2013-evolution-d5658725bf1c8cf7a705ca15e4fdd9b28939dd7e.tar.gz
gsoc2013-evolution-d5658725bf1c8cf7a705ca15e4fdd9b28939dd7e.tar.zst
gsoc2013-evolution-d5658725bf1c8cf7a705ca15e4fdd9b28939dd7e.zip
Bug 660799 - Bad GOptionEntry in evolution-addressbook-export
G_OPTION_FLAG_FILENAME is only for G_OPTION_ARG_CALLBACK options.
-rw-r--r--addressbook/tools/evolution-addressbook-export.c2
1 files changed, 1 insertions, 1 deletions
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") },