aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-completion
diff options
context:
space:
mode:
authorTom Wimmenhove <tom.wimmenhove@gmail.com>2023-04-13 00:21:28 +0100
committerAleksander Morgado <aleksander@aleksander.es>2023-05-17 10:08:03 +0000
commitbd5a82845a653bd51707e08af44c787f737f9c8c (patch)
tree754e035cf3055f32762e64185cbfd0fa078b298b /cli/mmcli-completion
parentd95114a576adbe56e0611e8c1f0b2908d274c52c (diff)
mmcli: added --messaging-create-sms-with-text option
Added a `--messaging-create-sms-with-text' command line option that works similar to `--messaging-create-sms-with-data', except that it uses the content of the file as the message text instead of data. This allows creating mesasges containing both double and single quotes, which was not possible with the existing `--messaging-create-sms' command line option.
Diffstat (limited to 'cli/mmcli-completion')
-rw-r--r--cli/mmcli-completion4
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/mmcli-completion b/cli/mmcli-completion
index 33398949..81fcf812 100644
--- a/cli/mmcli-completion
+++ b/cli/mmcli-completion
@@ -102,6 +102,10 @@ _mmcli()
_filedir
return 0
;;
+ '--messaging-create-sms-with-text')
+ _filedir
+ return 0
+ ;;
'--messaging-delete-sms')
COMPREPLY=( $(compgen -W "[PATH|INDEX]" -- $cur) )
return 0