]> git.alsa-project.org Git - alsa-utils.git/commitdiff
aplaymidi2: Fix --silent option handling
authorTakashi Iwai <tiwai@suse.de>
Fri, 19 Jul 2024 12:27:15 +0000 (14:27 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 19 Jul 2024 12:27:15 +0000 (14:27 +0200)
The --silent option takes no argument.  Correct the wrong setup.

Fixes: b1269eefdd13 ("aplaymidi2: Add --silent option")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
seq/aplaymidi2/aplaymidi2.c

index cd500bf74099ee5736bcefb7b910bc7a5500b188..6a1f21e9244417a943286f98e5f91d0ed3f7cccb 100644 (file)
@@ -512,7 +512,7 @@ int main(int argc, char *argv[])
                {"version", 0, NULL, 'V'},
                {"port", 1, NULL, 'p'},
                {"delay", 1, NULL, 'd'},
-               {"silent", 1, NULL, 's'},
+               {"silent", 0, NULL, 's'},
                {0}
        };
        int c;