1
0
Fork 0

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 <peter@korsgaard.com>
Signed-off-by: Jaroslav Kysela <perex@perex.cz>
This commit is contained in:
Peter Korsgaard 2026-01-07 12:00:21 +01:00 committed by Jaroslav Kysela
parent cdc401783b
commit 884247144d

View file

@ -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) {