Module Name:    src
Committed By:   wiz
Date:           Tue May 19 22:35:41 UTC 2009

Modified Files:
        src/sbin/modload: modload.8

Log Message:
Sort option descriptions. Split usage in SYNOPSIS in two, since there
are two different methods of calling it.
Add arguments to option descriptions.


To generate a diff of this commit:
cvs rdiff -u -r1.29 -r1.30 src/sbin/modload/modload.8

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sbin/modload/modload.8
diff -u src/sbin/modload/modload.8:1.29 src/sbin/modload/modload.8:1.30
--- src/sbin/modload/modload.8:1.29	Tue May 19 22:09:59 2009
+++ src/sbin/modload/modload.8	Tue May 19 22:35:41 2009
@@ -1,4 +1,4 @@
-.\" $NetBSD: modload.8,v 1.29 2009/05/19 22:09:59 jnemeth Exp $
+.\" $NetBSD: modload.8,v 1.30 2009/05/19 22:35:41 wiz Exp $
 .\"
 .\" Copyright (c) 1993 Christopher G. Demetriou
 .\" All rights reserved.
@@ -40,12 +40,16 @@
 .Nd load a kernel module
 .Sh SYNOPSIS
 .Nm
-.Op Fl b Ar name=val
 .Op Fl f
+.Op Fl b Ar name=val
 .Op Fl i Ar name=val
-.Op Fl p
 .Op Fl s Ar name=val
 .Ar module
+.Nm
+.Fl p
+.Op Fl b Ar name=val
+.Op Fl i Ar name=val
+.Op Fl s Ar name=val
 .Sh DESCRIPTION
 The
 .Nm
@@ -59,8 +63,8 @@
 The options to
 .Nm
 are as follows:
-.Bl -tag -width indent
-.It Fl b
+.Bl -tag -width xbxnamexvalx
+.It Fl b Ar name=val
 Pass the module a boolean property with the name
 .Ar name .
 .Ar val
@@ -68,11 +72,6 @@
 .Dv true
 or
 .Dv false .
-.It Fl i
-Pass the module an integer property with the name
-.Ar name
-and integral value
-.Ar val .
 .It Fl f
 When a module is loaded, the kernel checks if the module is compatible
 with the running kernel and will refuse to load modules that are
@@ -81,10 +80,15 @@
 .Em Note :
 an incompatible module can cause system instability, including data
 loss or corruption.
+.It Fl i Ar name=val
+Pass the module an integer property with the name
+.Ar name
+and integral value
+.Ar val .
 .It Fl p
 Output a property list suitable for loading along with a module.
 When using this option, you do not need to specify a module.
-.It Fl s
+.It Fl s Ar name=val
 Pass the module a string property with the name
 .Ar name
 and string value

Reply via email to