From owner-freebsd-bugs Mon Dec 7 20:30:03 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id UAA07217 for freebsd-bugs-outgoing; Mon, 7 Dec 1998 20:30:03 -0800 (PST) (envelope-from owner-freebsd-bugs@FreeBSD.ORG) Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA07179 for ; Mon, 7 Dec 1998 20:30:00 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from Unknown UID 563@localhost) by freefall.freebsd.org (8.8.8/8.8.5) id UAA20701; Mon, 7 Dec 1998 20:30:00 -0800 (PST) Date: Mon, 7 Dec 1998 20:30:00 -0800 (PST) Message-Id: <199812080430.UAA20701@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.ORG From: Deepa Subramanian Subject: Re: bin/5410: pkg_info options Reply-To: Deepa Subramanian Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR bin/5410; it has been noted by GNATS. From: Deepa Subramanian To: freebsd-gnats-submit@freebsd.org, volf@oasis.iaehv.nl Cc: Subject: Re: bin/5410: pkg_info options Date: Mon, 07 Dec 1998 23:28:45 -0500 As of 3.0-CURRENT, I have a patch that fixes this bug. I have attached the patch rv diff -c -r /usr/src/usr.sbin/pkg_install/info/main.c info/main.c *** /usr/src/usr.sbin/pkg_install/info/main.c Fri Dec 26 00:29:29 1997 --- info/main.c Mon Dec 7 23:22:40 1998 *************** *** 28,34 **** #include "lib.h" #include "info.h" ! static char Options[] = "acdDe:fikrRpLqImvhl:"; int Flags = 0; Boolean AllInstalled = FALSE; --- 28,34 ---- #include "lib.h" #include "info.h" ! static char Options[] = "acdDe:fhiIkl:LmpqrRt:v"; /* Arrange Alphabetically, too */ int Flags = 0; Boolean AllInstalled = FALSE; *************** *** 153,159 **** { fprintf(stderr, "%s\n%s\n%s\n", "usage: pkg_info [-cdDikrRpLqImv] [-e package] [-l prefix]", ! " pkg-name [pkg-name ...]", " pkg_info -a [flags]"); exit(1); } --- 153,159 ---- { fprintf(stderr, "%s\n%s\n%s\n", "usage: pkg_info [-cdDikrRpLqImv] [-e package] [-l prefix]", ! " [-t template] pkg-name [pkg-name ...]", " pkg_info -a [flags]"); exit(1); } diff -c -r /usr/src/usr.sbin/pkg_install/info/pkg_info.1 info/pkg_info.1 *** /usr/src/usr.sbin/pkg_install/info/pkg_info.1 Tue Jul 14 04:28:15 1998 --- info/pkg_info.1 Mon Dec 7 22:11:20 1998 *************** *** 25,33 **** .Nd a utility for displaying information on software packages .Sh SYNOPSIS .Nm pkg_info ! .Op Fl cdDikrRpLqImv .Op Fl e Ar package .Op Fl l Ar prefix .Ar pkg-name [pkg-name ...] .Nm pkg_info .Fl a --- 25,34 ---- .Nd a utility for displaying information on software packages .Sh SYNOPSIS .Nm pkg_info ! .Op Fl cdDfikrRpLqImv .Op Fl e Ar package .Op Fl l Ar prefix + .Op Fl t Ar template .Ar pkg-name [pkg-name ...] .Nm pkg_info .Fl a To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message