From fb073fc4902f989e618e2d1117f57ca4e01529e2 Mon Sep 17 00:00:00 2001 From: Marc Schink Date: Sat, 27 Dec 2014 19:12:58 +0100 Subject: [PATCH] Add support for localized input filenames. --- src/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main.c b/src/main.c index c2b2ba1..e524dc5 100644 --- a/src/main.c +++ b/src/main.c @@ -185,7 +185,7 @@ static gboolean parse_inst_filter_option(const gchar *option_name, } static GOptionEntry entries[] = { - {"input-file", 'i', 0, G_OPTION_ARG_STRING, &input_file, + {"input-file", 'i', 0, G_OPTION_ARG_FILENAME, &input_file, "Load trace data from file", NULL}, {"filter", 'f', 0, G_OPTION_ARG_CALLBACK, &parse_filter_option, "Filter for packet types", NULL}, -- 2.11.4.GIT