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.
This commit is contained in:
Tom Wimmenhove
2023-04-13 00:21:28 +01:00
committed by Aleksander Morgado
parent d95114a576
commit bd5a82845a
3 changed files with 77 additions and 16 deletions

View File

@@ -536,6 +536,9 @@ be 'sm', 'me', 'mt', 'sr', 'bm', 'ta'.
.B \-\-messaging\-create\-sms\-with\-data=PATH
Use \fBPATH\fR to a filename as the data to create a new SMS.
.TP
.B \-\-messaging\-create\-sms\-with\-text=PATH
Use \fBPATH\fR to a filename as the message to create a new SMS.
.TP
.B \-\-messaging\-delete\-sms=[PATH|INDEX]
Delete an SMS from a given modem.