From: Peter Korsgaard Date: Wed, 7 Jan 2026 10:57:05 +0000 (+0100) Subject: alsaloop: parse_config(): handle long form --wake option X-Git-Url: https://git.alsa-project.org/?a=commitdiff_plain;h=cdc401783bbc46f9786764128652d932b806d3ce;p=alsa-utils.git alsaloop: parse_config(): handle long form --wake option The usage info documents a long form --wake option: "-W,--wake process wake timeout in ms\n" But it wasn't handled: alsaloop --wake 42 alsaloop: unrecognized option '--wake' Fix that. 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 9e45721..9178011 100644 --- a/alsaloop/alsaloop.c +++ b/alsaloop/alsaloop.c @@ -386,6 +386,7 @@ static int parse_config(int argc, char *argv[], snd_output_t *output, {"ossmixer", 1, NULL, 'O'}, {"workaround", 1, NULL, 'w'}, {"xrun", 0, NULL, 'U'}, + {"wake", 1, NULL, 'W'}, {"syslog", 0, NULL, 'z'}, {NULL, 0, NULL, 0}, };