diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-27 21:39:11 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2016-03-27 21:39:11 +0200 |
commit | f156ec06fb74d2401ab7147c0977e4fdff20eb52 (patch) | |
tree | 80ffd530da32fef9bb94699593db01a9ec811cc5 /cli | |
parent | 0f9377686d08f4ac360c9f1df3366c91af44209f (diff) |
context: use G_OPTION_ARG_FILENAME when a file path is expected
Diffstat (limited to 'cli')
-rw-r--r-- | cli/mmcli-modem-messaging.c | 2 |
1 files changed, 1 insertions, 1 deletions
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]" }, |