Bug 144407

Summary: Duplicate argument entry in mtree(8)
Product: Documentation Reporter: Enji Cooper <ngie>
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 Enji Cooper freebsd_committer freebsd_triage 2010-03-02 00:40:03 UTC
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.

Fix: See patch.

Patch attached with submission follows:
How-To-Repeat: n/a
Comment 1 Maxim Konovalov freebsd_committer freebsd_triage 2010-03-30 10:22:36 UTC
State Changed
From-To: open->patched

Fixed in HEAD.  Thanks!
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-03-30 10:22:44 UTC
Author: maxim
Date: Tue Mar 30 09:22:33 2010
New Revision: 205873
URL: http://svn.freebsd.org/changeset/base/205873

Log:
  o Remove a duplicate reference to -f flag in the SYNOPSYS section.
  o Improve wording.
  
  PR:		docs/144407
  Submitted by:	gcooper
  MFC after:	1 week

Modified:
  head/usr.sbin/mtree/mtree.8

Modified: head/usr.sbin/mtree/mtree.8
==============================================================================
--- head/usr.sbin/mtree/mtree.8	Tue Mar 30 06:42:01 2010	(r205872)
+++ head/usr.sbin/mtree/mtree.8	Tue Mar 30 09:22:33 2010	(r205873)
@@ -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 @@ Same as
 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
_______________________________________________
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-04-21 06:41:16 UTC
State Changed
From-To: patched->closed

Merged to RELENG_8.