Date: Tue, 30 Sep 2008 00:36:02 GMT From: TerryP <BigBoss1964@gmail.com> To: freebsd-gnats-submit@FreeBSD.org Subject: bin/127732: pkg_add(1) manual documents --no-scripts, but source uses --no-script Message-ID: <200809300036.m8U0a25m065423@www.freebsd.org> Resent-Message-ID: <200809300040.m8U0e02M011603@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 127732 >Category: bin >Synopsis: pkg_add(1) manual documents --no-scripts, but source uses --no-script >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Sep 30 00:40:00 UTC 2008 >Closed-Date: >Last-Modified: >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: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200809300036.m8U0a25m065423>