From nobody@FreeBSD.org  Tue Mar  2 00:32:41 2010
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id 5907E106564A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Mar 2010 00:32:41 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21])
	by mx1.freebsd.org (Postfix) with ESMTP id 485C58FC1A
	for <freebsd-gnats-submit@FreeBSD.org>; Tue,  2 Mar 2010 00:32:41 +0000 (UTC)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id o220WftB046756
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 2 Mar 2010 00:32:41 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id o220WfUO046755;
	Tue, 2 Mar 2010 00:32:41 GMT
	(envelope-from nobody)
Message-Id: <201003020032.o220WfUO046755@www.freebsd.org>
Date: Tue, 2 Mar 2010 00:32:41 GMT
From: Garrett Cooper <yaneurabeya@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Duplicate argument entry in mtree(8)
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         144407
>Category:       docs
>Synopsis:       Duplicate argument entry in mtree(8)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Mar 02 00:40:03 UTC 2010
>Closed-Date:    Wed Apr 21 05:41:29 UTC 2010
>Last-Modified:  Sun Feb 03 22:28:07 UTC 2013
>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@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:
State-Changed-From-To: open->patched 
State-Changed-By: maxim 
State-Changed-When: Tue Mar 30 09:22:36 UTC 2010 
State-Changed-Why:  
Fixed in HEAD.  Thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144407 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/144407: commit references a PR
Date: Tue, 30 Mar 2010 09:22:44 +0000 (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"
 
State-Changed-From-To: patched->closed 
State-Changed-By: maxim 
State-Changed-When: Wed Apr 21 05:41:16 UTC 2010 
State-Changed-Why:  
Merged to RELENG_8. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=144407 
>Unformatted:
