aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarc Schink <swo-dev@marcschink.de>2014-12-27 19:12:58 +0100
committerMarc Schink <swo-dev@marcschink.de>2015-04-22 22:15:36 +0200
commitfb073fc4902f989e618e2d1117f57ca4e01529e2 (patch)
treea4a32cb85a43348c6f9968c09ad461789ab4a596
parent739121505d03abe8cddcd0f10cd336c1901d7d37 (diff)
Add support for localized input filenames.
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
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},