From ce8df1cd4a99de80e927c5b1489abd07df57d0dd Mon Sep 17 00:00:00 2001 From: charnier Date: Thu, 18 Sep 1997 06:35:51 +0000 Subject: Use err(3). Document -y flag. Remove unused -s flag from getopt string. --- usr.sbin/fdwrite/fdwrite.1 | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) (limited to 'usr.sbin/fdwrite/fdwrite.1') diff --git a/usr.sbin/fdwrite/fdwrite.1 b/usr.sbin/fdwrite/fdwrite.1 index d445eed..53cb70e 100644 --- a/usr.sbin/fdwrite/fdwrite.1 +++ b/usr.sbin/fdwrite/fdwrite.1 @@ -6,7 +6,7 @@ .\" this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp .\" ---------------------------------------------------------------------------- .\" -.\" $Id: fdwrite.1,v 1.4 1997/02/22 16:05:48 peter Exp $ +.\" $Id: fdwrite.1,v 1.5 1997/05/19 16:33:27 eivind Exp $ .\" .\" .Dd September 16, 1993 @@ -17,9 +17,10 @@ .Nd format and write floppy disks .Sh SYNOPSIS .Nm fdwrite -.Bq Fl v -.Bq Fl f Ar inputfile -.Bq Fl d Ar device +.Op Fl v +.Op Fl y +.Op Fl f Ar inputfile +.Op Fl d Ar device .Sh DESCRIPTION .Nm Fdwrite formats and writes one and more floppy disks. @@ -40,7 +41,7 @@ This continues until the program is interrupted or EOF is encountered on the The options are as follows: .Bl -tag -width 10n -offset indent .It Fl v -toggles verbosity on stdout. +Toggle verbosity on stdout. Default is ``on''. After .Ar device @@ -49,6 +50,9 @@ During operation progress will be reported with the number of tracks remaining on the current floppy disk, and the letters I, Z, F, W, R and C, which indicates completion of Input, Zero-fill, Format Write, Read and Compare of current track respectively. +.It Fl y +Don't ask for presence of a floppy disk in the drive. This non-interactive flag +is useful for shell scripts. .It Fl f Ar inputfile Input file to read. If none is given, stdin is assumed. .It Fl d Ar device @@ -92,7 +96,7 @@ Some of the code was taken from .Xr fdformat 1 . .Sh AUTHOR The program has been contributed by -Poul-Henning Kamp +.An Poul-Henning Kamp Aq phk@login.dknet.dk .Sh BUGS Diagnostics are less than complete at present. -- cgit v1.1