Subject: misc/25866: missing option in the manpage of swapon(8)
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <hira@po6.nsk.ne.jp>
List: netbsd-bugs
Date: 06/08/2004 03:25:24
>Number:         25866
>Category:       misc
>Synopsis:       missing option in the manpage of swapon(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    misc-bug-people
>State:          open
>Class:          doc-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Jun 07 18:26:01 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator:     Kouichirou Hiratsuka
>Release:        NetBSD 2.0_BETA
>Organization:
>Environment:
System: NetBSD firefly.localdomain 2.0_BETA NetBSD 2.0_BETA (FIREFLY.MP) #22: Tue Jun 8 01:10:58 JST 2004 root@firefly.localdomain:/usr/src/sys/arch/i386/compile/FIREFLY.MP i386
Architecture: i386
Machine: i386
>Description:
	-t is missing in the synopsis of the manpage.

>How-To-Repeat:
	man swapon

>Fix:
Index: swapctl.8
===================================================================
RCS file: /cvs/cvsroot/src/sbin/swapctl/swapctl.8,v
retrieving revision 1.29
diff -u -r1.29 swapctl.8
--- swapctl.8	21 Dec 2003 02:52:02 -0000	1.29
+++ swapctl.8	6 Jun 2004 03:08:45 -0000
@@ -61,7 +61,10 @@
 .Nm
 .Fl z
 .Nm swapon
-.Fl a | Ar path
+.Fl a
+.Op Fl t Ar blk|noblk
+.Nm swapon
+.Ar path
 .Sh DESCRIPTION
 The
 .Nm

>Release-Note:
>Audit-Trail:
>Unformatted: