aplaymidi2: Fix --silent option handling

The --silent option takes no argument.  Correct the wrong setup.

Fixes: b1269eefdd ("aplaymidi2: Add --silent option")
Signed-off-by: Takashi Iwai <tiwai@suse.de>
This commit is contained in:
Takashi Iwai 2024-07-19 14:27:15 +02:00
parent 33f6870f56
commit 47931000fd

View 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;