document -b, remove -z

This commit is contained in:
Alexandre Ratchov 2014-11-17 07:36:28 +01:00
parent 737ca22c4d
commit c075b80574
2 changed files with 5 additions and 5 deletions

View File

@ -24,6 +24,7 @@
.Nm aucat
.Bk -words
.Op Fl dn
.Op Dl b Ar size
.Op Fl c Ar min : Ns Ar max
.Op Fl e Ar enc
.Op Fl f Ar device
@ -74,6 +75,9 @@ Start, stop and relocate playback and recording.
.Pp
The options are as follows:
.Bl -tag -width Ds
.It Fl Ar b size
The buffer size of the audio device in frames.
Default is 7680.
.It Xo
.Fl c Ar min : Ns Ar max
.Xc

View File

@ -1241,7 +1241,7 @@ main(int argc, char **argv)
dev = NULL;
mode = 0;
while ((c = getopt(argc, argv, "b:c:de:f:h:i:j:no:q:r:t:v:z:")) != -1) {
while ((c = getopt(argc, argv, "b:c:de:f:h:i:j:no:q:r:t:v:")) != -1) {
switch (c) {
case 'b':
if (!opt_num(optarg, 1, RATE_MAX, &bufsz))
@ -1295,10 +1295,6 @@ main(int argc, char **argv)
if (!opt_num(optarg, 0, MIDI_MAXCTL, &vol))
return 1;
break;
case 'z':
if (!opt_num(optarg, 1, RATE_MAX, &round))
return 1;
break;
default:
goto bad_usage;
}