From 47931000fd972a6f1838c2dee167ee09345be165 Mon Sep 17 00:00:00 2001 From: Takashi Iwai Date: Fri, 19 Jul 2024 14:27:15 +0200 Subject: [PATCH] aplaymidi2: Fix --silent option handling The --silent option takes no argument. Correct the wrong setup. Fixes: b1269eefdd13 ("aplaymidi2: Add --silent option") Signed-off-by: Takashi Iwai --- seq/aplaymidi2/aplaymidi2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/seq/aplaymidi2/aplaymidi2.c b/seq/aplaymidi2/aplaymidi2.c index cd500bf..6a1f21e 100644 --- a/seq/aplaymidi2/aplaymidi2.c +++ b/seq/aplaymidi2/aplaymidi2.c @@ -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; -- 2.47.1