From 884247144df46c36fc08a366e7eacd3839ae039b Mon Sep 17 00:00:00 2001 From: Peter Korsgaard Date: Wed, 7 Jan 2026 12:00:21 +0100 Subject: [PATCH] alsaloop: parse_config(): align optstring order with the long options The 'd' and 'm' options were not in the same order as the long options. Fix that. No functional change, but makes it easier to ensure they are kept in sync. Closes: https://github.com/alsa-project/alsa-utils/pull/317 Signed-off-by: Peter Korsgaard Signed-off-by: Jaroslav Kysela --- alsaloop/alsaloop.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/alsaloop/alsaloop.c b/alsaloop/alsaloop.c index 9178011..b9748db 100644 --- a/alsaloop/alsaloop.c +++ b/alsaloop/alsaloop.c @@ -426,7 +426,7 @@ static int parse_config(int argc, char *argv[], snd_output_t *output, while (1) { int c; if ((c = getopt_long(argc, argv, - "hdg:P:C:X:Y:x:l:t:f:c:r:B:E:s:benvA:S:a:m:T:O:w:UW:z", + "hg:dP:C:X:Y:x:l:t:f:c:r:B:E:s:benvA:S:a:T:m:O:w:UW:z", long_option, NULL)) < 0) break; switch (c) { -- 2.52.0