aboutsummaryrefslogtreecommitdiff
path: root/cli/mmcli-sms.c
diff options
context:
space:
mode:
authorAleksander Morgado <aleksander@aleksander.es>2020-03-23 06:05:51 +0100
committerAleksander Morgado <aleksander@aleksander.es>2020-04-09 05:38:07 +0000
commitd72a9df041bd25df6f6acb28eed5cbb044a89c51 (patch)
treedb6f25492f468381fdd84ce374e9c306d7d4b971 /cli/mmcli-sms.c
parentcc99ab562b2f47f48f5ed9e5afa0c23a4a5c32cd (diff)
cli: allow looking up for first available modem or SIM
When a system only has one single modem, it's convenient to just look for the first available modem or SIM object, instead of needing to provide the full path or the exact index number. This improvement allows users to use the "any" keyword, or any of its substrings (e.g. "an" or even "a") to match the first available object of the requested type. E.g.: $ mmcli -m a -------------------------------- General | dbus path: /org/freedesktop/ModemManager1/Modem/0 | device id: 1a48f1180f1fb0166d91f7b139d027136b59ba63 -------------------------------- Hardware | manufacturer: Sierra Wireless Inc. | model: Sierra Wireless EM7345 4G LTE ... Fixes https://gitlab.freedesktop.org/mobile-broadband/ModemManager/issues/196
Diffstat (limited to 'cli/mmcli-sms.c')
0 files changed, 0 insertions, 0 deletions