cli: improve --help output for --modem and --sim options

Specify the full list of supported object lookup methods.
This commit is contained in:
Aleksander Morgado
2020-03-23 06:18:22 +01:00
parent d72a9df041
commit 1a67db047e

View File

@@ -1498,16 +1498,16 @@ static gchar *call_str;
static GOptionEntry entries[] = { static GOptionEntry entries[] = {
{ "modem", 'm', 0, G_OPTION_ARG_STRING, &modem_str, { "modem", 'm', 0, G_OPTION_ARG_STRING, &modem_str,
"Specify modem by path or index. Shows modem information if no action specified.", "Specify modem by path, index, UID or 'any'. Shows modem information if no action specified.",
"[PATH|INDEX]" "[PATH|INDEX|UID|any]"
}, },
{ "bearer", 'b', 0, G_OPTION_ARG_STRING, &bearer_str, { "bearer", 'b', 0, G_OPTION_ARG_STRING, &bearer_str,
"Specify bearer by path or index. Shows bearer information if no action specified.", "Specify bearer by path or index. Shows bearer information if no action specified.",
"[PATH|INDEX]" "[PATH|INDEX]"
}, },
{ "sim", 'i', 0, G_OPTION_ARG_STRING, &sim_str, { "sim", 'i', 0, G_OPTION_ARG_STRING, &sim_str,
"Specify SIM card by path or index. Shows SIM card information if no action specified.", "Specify SIM card by path, index, UID or 'any'. Shows SIM card information if no action specified.",
"[PATH|INDEX]" "[PATH|INDEX|UID|any]"
}, },
{ "sms", 's', 0, G_OPTION_ARG_STRING, &sms_str, { "sms", 's', 0, G_OPTION_ARG_STRING, &sms_str,
"Specify SMS by path or index. Shows SMS information if no action specified.", "Specify SMS by path or index. Shows SMS information if no action specified.",