From: Peter Korsgaard Date: Wed, 7 Jan 2026 11:00:21 +0000 (+0100) Subject: alsaloop: parse_config(): align optstring order with the long options X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=884247144df46c36fc08a366e7eacd3839ae039b;p=alsa-utils.git 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 --- 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) {