amixer - remove beep on errors in arguments

See bug#1247
This commit is contained in:
Jaroslav Kysela 2006-10-04 10:21:29 +02:00
parent 8fa7c15229
commit 6d59cea271

View file

@ -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++;
} }
} }