docs/144407: Duplicate argument entry in mtree(8)
Garrett Cooper
gcooper at FreeBSD.org
Tue Mar 2 00:40:04 UTC 2010
>Number: 144407
>Category: docs
>Synopsis: Duplicate argument entry in mtree(8)
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-doc
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Mar 02 00:40:03 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Garrett Cooper
>Release: RELENG_8
>Organization:
Cisco Systems, Inc
>Environment:
FreeBSD garrcoop-fbsd.cisco.com 8.0-STABLE FreeBSD 8.0-STABLE #2: Wed Feb 3 16:57:07 PST 2010 garrcoop at garrcoop-fbsd.cisco.com:/usr/obj/usr/src/sys/LAPPY_X86 i386
>Description:
There's a duplicate reference to -f in the manpage header:
SYNOPSIS
mtree [-LPUcdeinqruxw] [-f spec] [-f spec] [-K keywords] [-k keywords]
[-p path] [-s seed] [-X exclude-list]
The issue exists in the 9-CURRENT manpage as well.
The patch also addresses a typo and a terse sentence.
>How-To-Repeat:
n/a
>Fix:
See patch.
Patch attached with submission follows:
Index: head/usr.sbin/mtree/mtree.8
===================================================================
--- head/usr.sbin/mtree/mtree.8 (revision 204532)
+++ head/usr.sbin/mtree/mtree.8 (working copy)
@@ -41,9 +41,6 @@
.Op Fl f Ar spec
.Ek
.Bk -words
-.Op Fl f Ar spec
-.Ek
-.Bk -words
.Op Fl K Ar keywords
.Ek
.Bk -words
@@ -119,7 +116,7 @@
except a status of 2 is returned if the file hierarchy did not match
the specification.
.It Fl w
-Make some errorconditions non-fatal warnings.
+Make some errors non-fatal warnings.
.It Fl x
Do not descend below mount points in the file hierarchy.
.It Fl f Ar file
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-doc
mailing list