mirror of
https://github.com/alsa-project/alsa-utils
synced 2024-11-09 02:15:42 +01:00
amixer - remove beep on errors in arguments
See bug#1247
This commit is contained in:
parent
8fa7c15229
commit
6d59cea271
1 changed files with 2 additions and 2 deletions
|
@ -1849,7 +1849,7 @@ int main(int argc, char *argv[])
|
||||||
if (i >= 0 && i < 32)
|
if (i >= 0 && i < 32)
|
||||||
sprintf(card, "hw:%i", i);
|
sprintf(card, "hw:%i", i);
|
||||||
else {
|
else {
|
||||||
fprintf(stderr, "\07Invalid card number.\n");
|
fprintf(stderr, "Invalid card number.\n");
|
||||||
morehelp++;
|
morehelp++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1890,7 +1890,7 @@ int main(int argc, char *argv[])
|
||||||
read_stdin = 1;
|
read_stdin = 1;
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
fprintf(stderr, "\07Invalid switch or option needs an argument.\n");
|
fprintf(stderr, "Invalid switch or option needs an argument.\n");
|
||||||
morehelp++;
|
morehelp++;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue