From nobody@FreeBSD.org  Tue Sep 30 00:36:02 2008
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 CB4A9106568E
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Sep 2008 00:36:02 +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 B95FD8FC12
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Sep 2008 00:36:02 +0000 (UTC)
	(envelope-from nobody@FreeBSD.org)
Received: from www.freebsd.org (localhost [127.0.0.1])
	by www.freebsd.org (8.14.3/8.14.3) with ESMTP id m8U0a2Cx065424
	for <freebsd-gnats-submit@FreeBSD.org>; Tue, 30 Sep 2008 00:36:02 GMT
	(envelope-from nobody@www.freebsd.org)
Received: (from nobody@localhost)
	by www.freebsd.org (8.14.3/8.14.3/Submit) id m8U0a25m065423;
	Tue, 30 Sep 2008 00:36:02 GMT
	(envelope-from nobody)
Message-Id: <200809300036.m8U0a25m065423@www.freebsd.org>
Date: Tue, 30 Sep 2008 00:36:02 GMT
From: TerryP <BigBoss1964@gmail.com>
To: freebsd-gnats-submit@FreeBSD.org
Subject: pkg_add(1) manual documents --no-scripts, but source uses --no-script
X-Send-Pr-Version: www-3.1
X-GNATS-Notify:

>Number:         127732
>Category:       docs
>Synopsis:       pkg_add(1) manual documents --no-scripts, but source uses --no-script
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    chinsan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Sep 30 00:40:00 UTC 2008
>Closed-Date:    Sun Jan 11 06:30:29 UTC 2009
>Last-Modified:  Sun Jan 11 06:30:29 UTC 2009
>Originator:     TerryP
>Release:        7.0-STABLE
>Organization:
>Environment:
FreeBSD dixie.launchmodem.com 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Sep 18 21:57:03 UTC 2008     root@dixie.launchmodem.com:/usr/obj/usr/src/sys/VIPER  i386

>Description:
The manual page for pkg_add(1) documents that the long option to skip executing scripts is --no-scripts. When attempting to execute pkg_add --no-scripts, the following output is given:

pkg_add: unrecognized option `--noscripts'
usage: pkg_add [-viInfFrRMSK] [-t template] [-p prefix] [-P prefix] [-C chrootdir]
               pkg-name [pkg-name ...]


A quick look at src/usr.sbin/pkg_install/add/main.c, shows that the the program accepts --no-script instead.
>How-To-Repeat:
execute$ pkg_add --no-scripts  your_pkg_file.tbz
>Fix:
Change one line in either the manual page (src/usr.sbin/pkg_install/add/pkg_add.1) or the programs source code (src/usr.sbin/pkg_install/add/main.c).

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: vwe 
State-Changed-When: Sat Jan 3 22:53:41 UTC 2009 
State-Changed-Why:  
this is a documentation issue 
man page should document the "--no-script" option 


Responsible-Changed-From-To: freebsd-bugs->freebsd-doc 
Responsible-Changed-By: vwe 
Responsible-Changed-When: Sat Jan 3 22:53:41 UTC 2009 
Responsible-Changed-Why:  
over to docs team 

http://www.freebsd.org/cgi/query-pr.cgi?pr=127732 
Responsible-Changed-From-To: freebsd-doc->chinsan 
Responsible-Changed-By: chinsan 
Responsible-Changed-When: Sun Jan 4 05:38:32 UTC 2009 
Responsible-Changed-Why:  
I'll take this. 

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

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: docs/127732: commit references a PR
Date: Sun,  4 Jan 2009 07:29:16 +0000 (UTC)

 Author: chinsan (doc,ports committer)
 Date: Sun Jan  4 07:29:04 2009
 New Revision: 186732
 URL: http://svn.freebsd.org/changeset/base/186732
 
 Log:
   - s/no-scripts/no-script/
   
   PR:		docs/127732
   Submitted by:	TerryP <BigBoss1964@gmail.com>
   MFC after:	3 days
 
 Modified:
   head/usr.sbin/pkg_install/add/pkg_add.1
 
 Modified: head/usr.sbin/pkg_install/add/pkg_add.1
 ==============================================================================
 --- head/usr.sbin/pkg_install/add/pkg_add.1	Sun Jan  4 00:20:18 2009	(r186731)
 +++ head/usr.sbin/pkg_install/add/pkg_add.1	Sun Jan  4 07:29:04 2009	(r186732)
 @@ -15,7 +15,7 @@
  .\"
  .\" $FreeBSD$
  .\"
 -.Dd May 30, 2008
 +.Dd Jan 4, 2009
  .Dt PKG_ADD 1
  .Os
  .Sh NAME
 @@ -90,7 +90,7 @@ if it is defined or in current directory
  .It Fl i , -no-deps
  Install the package without fetching and installing
  dependencies.
 -.It Fl I , -no-scripts
 +.It Fl I , -no-script
  If any installation scripts (pre-install or post-install) exist for a given
  package, do not execute them.
  .It Fl n , -dry-run
 _______________________________________________
 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: analyzed->closed 
State-Changed-By: chinsan 
State-Changed-When: Sun Jan 11 06:30:27 UTC 2009 
State-Changed-Why:  
Committed, thanks. 

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