Bug 148535

Summary: [patch] kldload.8 -q option corrections
Product: Documentation Reporter: Warren Block <wblock>
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description Warren Block 2010-07-13 02:30:02 UTC
kldload(8) -q option is not mentioned in synopsis but both options are mentioned as singular in the description:

SYNOPSIS
     kldload [-v] file ...
..

     The following option is available:

     -v      Be more verbose.

     -q      Silence any extraneous warnings.

Fix: Apply patch:

--- sbin/kldload/kldload.8.orig	2010-07-12 19:12:11.000000000 -0600
+++ sbin/kldload/kldload.8	2010-07-12 19:13:29.000000000 -0600
@@ -34,6 +34,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl v
+.Op Fl q
 .Ar
 .Sh DESCRIPTION
 The
@@ -60,7 +61,7 @@
 utility will warn if a module is requested as a bare filename and is present
 in the current directory.
 .Pp
-The following option is available:
+The following options are available:
 .Bl -tag -width indent
 .It Fl v
 Be more verbose.


Patch attached with submission follows:
How-To-Repeat: man 8 kldload
Comment 1 Maxim Konovalov freebsd_committer freebsd_triage 2010-07-13 05:13:55 UTC
State Changed
From-To: open->patched

Fixed in HEAD.  Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-07-13 05:15:17 UTC
Author: maxim
Date: Tue Jul 13 04:11:25 2010
New Revision: 209970
URL: http://svn.freebsd.org/changeset/base/209970

Log:
  o Add -q flag to the synopsis.
  
  PR:		docs/148535
  Submitted by:	Warren Block
  MFC after:	1 week

Modified:
  head/sbin/kldload/kldload.8

Modified: head/sbin/kldload/kldload.8
==============================================================================
--- head/sbin/kldload/kldload.8	Tue Jul 13 04:08:08 2010	(r209969)
+++ head/sbin/kldload/kldload.8	Tue Jul 13 04:11:25 2010	(r209970)
@@ -34,6 +34,7 @@
 .Sh SYNOPSIS
 .Nm
 .Op Fl v
+.Op Fl q
 .Ar
 .Sh DESCRIPTION
 The
@@ -60,7 +61,7 @@ The
 utility will warn if a module is requested as a bare filename and is present
 in the current directory.
 .Pp
-The following option is available:
+The following options are available:
 .Bl -tag -width indent
 .It Fl v
 Be more verbose.
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscribe@freebsd.org"
Comment 3 Maxim Konovalov freebsd_committer freebsd_triage 2010-09-02 07:07:20 UTC
State Changed
From-To: patched->closed

Merged to RELENG_8.