From f156ec06fb74d2401ab7147c0977e4fdff20eb52 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Sun, 27 Mar 2016 21:39:11 +0200 Subject: context: use G_OPTION_ARG_FILENAME when a file path is expected --- cli/mmcli-modem-messaging.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cli/mmcli-modem-messaging.c') diff --git a/cli/mmcli-modem-messaging.c b/cli/mmcli-modem-messaging.c index 0159fa12..c424eac0 100644 --- a/cli/mmcli-modem-messaging.c +++ b/cli/mmcli-modem-messaging.c @@ -64,7 +64,7 @@ static GOptionEntry entries[] = { "Create a new SMS in a given modem", "[\"key=value,...\"]" }, - { "messaging-create-sms-with-data", 0, 0, G_OPTION_ARG_STRING, &create_with_data_str, + { "messaging-create-sms-with-data", 0, 0, G_OPTION_ARG_FILENAME, &create_with_data_str, "Pass the given file as data contents when creating a new SMS", "[File path]" }, -- cgit v1.2.3-70-g09d2