summaryrefslogtreecommitdiffstats
path: root/usr.sbin/fdformat
diff options
context:
space:
mode:
authorjmc <jmc@openbsd.org>2018-06-07 11:37:21 +0000
committerjmc <jmc@openbsd.org>2018-06-07 11:37:21 +0000
commite85952726048191006e335a6427e46121332b7c7 (patch)
treebd316b64330ec257c10730c3557cca731d665176 /usr.sbin/fdformat
parentuse RELAY_* flags where appropriate (diff)
downloadwireguard-openbsd-e85952726048191006e335a6427e46121332b7c7.tar.xz
wireguard-openbsd-e85952726048191006e335a6427e46121332b7c7.zip
add some EXIT STATUS sections; from matthew martin
Diffstat (limited to 'usr.sbin/fdformat')
-rw-r--r--usr.sbin/fdformat/fdformat.116
1 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/fdformat/fdformat.1 b/usr.sbin/fdformat/fdformat.1
index ebad8a540c1..35220ac6c21 100644
--- a/usr.sbin/fdformat/fdformat.1
+++ b/usr.sbin/fdformat/fdformat.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: fdformat.1,v 1.19 2017/01/08 01:32:02 schwarze Exp $
+.\" $OpenBSD: fdformat.1,v 1.20 2018/06/07 11:37:21 jmc Exp $
.\"
.\" Copyright (C) 1993, 1994 by Joerg Wunsch, Dresden
.\" All rights reserved.
@@ -24,7 +24,7 @@
.\" IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
.\" POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: January 8 2017 $
+.Dd $Mdocdate: June 7 2018 $
.Dt FDFORMAT 1
.Os
.Sh NAME
@@ -93,6 +93,12 @@ of the intended formatting process.
In order to continue, an answer of
.Dq y
must be given.
+.Sh EXIT STATUS
+An exit status of 0 is returned upon successful operation.
+Exit status
+1 is returned on any errors during floppy formatting, and an exit status
+of 2 reflects invalid arguments given to the program (along with
+appropriate information written to diagnostic output).
.Sh DIAGNOSTICS
Unless
.Fl q
@@ -105,12 +111,6 @@ is printed when the track(s) is being formatted, then a
while it's being verified, and if an error has been detected, it
will finally change to
.Dq E .
-.Pp
-An exit status of 0 is returned upon successful operation.
-Exit status
-1 is returned on any errors during floppy formatting, and an exit status
-of 2 reflects invalid arguments given to the program (along with
-appropriate information written to diagnostic output).
.Sh SEE ALSO
.Xr fdc 4
.Sh HISTORY