mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-12-22 12:56:31 +01:00
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:
parent
33f6870f56
commit
47931000fd
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ int main(int argc, char *argv[])
|
||||||
{"version", 0, NULL, 'V'},
|
{"version", 0, NULL, 'V'},
|
||||||
{"port", 1, NULL, 'p'},
|
{"port", 1, NULL, 'p'},
|
||||||
{"delay", 1, NULL, 'd'},
|
{"delay", 1, NULL, 'd'},
|
||||||
{"silent", 1, NULL, 's'},
|
{"silent", 0, NULL, 's'},
|
||||||
{0}
|
{0}
|
||||||
};
|
};
|
||||||
int c;
|
int c;
|
||||||
|
|
Loading…
Reference in a new issue