Enable the 't' option, and document it in the manpage.

Submitted by: green@freebsd.org <Brian Fundakowski Feldman>
This commit is contained in:
sos 2000-01-15 15:51:47 +00:00
parent 4b174b1c2f
commit af9edb227a
2 changed files with 4 additions and 1 deletions

View File

@ -60,6 +60,8 @@ eject the CD-R/RW when done.
use preemphasis on audio tracks.
.It Fl q
quiet, dont print progress messages.
.It Fl t
test write, dont actually wirte on the media.
.El
.Pp
.Ar command

View File

@ -54,7 +54,7 @@ main(int argc, char **argv)
int block_size, cdopen = 0, size, tot_size = 0;
struct cdr_track track;
while ((ch = getopt(argc, argv, "ef:pqs:")) != -1) {
while ((ch = getopt(argc, argv, "ef:pqs:t")) != -1) {
switch (ch) {
case 'e':
eject = 1;
@ -81,6 +81,7 @@ main(int argc, char **argv)
break;
default:
exit(EX_USAGE);
}
}
argc -= optind;