Date: Mon, 7 Dec 1998 20:30:00 -0800 (PST) From: Deepa Subramanian <deepas@andrew.cmu.edu> To: freebsd-bugs@FreeBSD.ORG Subject: Re: bin/5410: pkg_info options Message-ID: <199812080430.UAA20701@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/5410; it has been noted by GNATS.
From: Deepa Subramanian <deepas@andrew.cmu.edu>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199812080430.UAA20701>
