From 477a09b1438c1a00135ea6bd33076f61be4fb042 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Fri, 15 May 2026 11:29:50 +0200 Subject: [PATCH] MT#61856 main: prevent duplicated usage of `F` shortcut Already used by `--no-fallback`, so the rest just probably inherited the same letter when doing copy-paste. That is ambiguous and may cause option parsing conflicts. Keep `F` only for the historical(most important) option and set the rest to 0. Change-Id: I6e4841f6e6614bfdfcf53d159130d6d676073d47 (cherry picked from commit b659b2371f731fbf54a7be4443b872a1d1d745a8) (cherry picked from commit de0a63f46b032401bcf38c797290f24266a6ba61) --- daemon/main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/main.c b/daemon/main.c index 4d182681a..108e43085 100644 --- a/daemon/main.c +++ b/daemon/main.c @@ -614,7 +614,7 @@ static void options(int *argc, char ***argv) { { "priority", 0, 0, G_OPTION_ARG_INT, &rtpe_config.priority, "Thread scheduling priority", "INT" }, { "idle-scheduling",0, 0,G_OPTION_ARG_STRING, &rtpe_config.idle_scheduling,"Idle thread scheduling policy", "default|none|fifo|rr|other|batch|idle" }, { "idle-priority",0, 0, G_OPTION_ARG_INT, &rtpe_config.idle_priority,"Idle thread scheduling priority", "INT" }, - { "log-srtp-keys",'F', 0, G_OPTION_ARG_NONE, &rtpe_config.log_keys, "Log SRTP keys to error log", NULL }, + { "log-srtp-keys",0, 0, G_OPTION_ARG_NONE, &rtpe_config.log_keys, "Log SRTP keys to error log", NULL }, { "mysql-host", 0, 0, G_OPTION_ARG_STRING, &rtpe_config.mysql_host,"MySQL host for stored media files","HOST|IP" }, { "mysql-port", 0, 0, G_OPTION_ARG_INT, &rtpe_config.mysql_port,"MySQL port" ,"INT" }, { "mysql-user", 0, 0, G_OPTION_ARG_STRING, &rtpe_config.mysql_user,"MySQL connection credentials", "USERNAME" },