Subject: Re: PR/37265 CVS commit: pkgsrc/pkgtools/pkg_install/files/info
To: None <pkg-manager@netbsd.org, gnats-admin@netbsd.org,>
From: Yakovetsky Vladimir <yx@x.ua>
List: pkgsrc-bugs
Date: 11/05/2007 08:55:02
The following reply was made to PR pkg/37265; it has been noted by GNATS.
From: Yakovetsky Vladimir <yx@x.ua>
To: Joerg Sonnenberger <joerg@NetBSD.org>
Cc: pkg-manager@NetBSD.org, gnats-admin@NetBSD.org,
pkgsrc-bugs@NetBSD.org, gnats-bugs@NetBSD.org
Subject: Re: PR/37265 CVS commit: pkgsrc/pkgtools/pkg_install/files/info
Date: Mon, 5 Nov 2007 10:50:36 +0200
On Fri, Nov 02, 2007 at 04:05:20PM +0000, Joerg Sonnenberger wrote:
> Modified Files:
> pkgsrc/pkgtools/pkg_install/files/info: main.c pkg_info.1 pkg_info.cat1
> Log Message:
> Remove obsolete option r from usage() and man page.
>
and please synchronize usage() and manpage usagelines,
i.e. add `E' option in usage() function.
--- pkgtools/pkg_install/files/info/main.c.orig
+++ pkgtools/pkg_install/files/info/main.c
@@ -67,8 +67,8 @@
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n%s\n",
- "usage: pkg_info [-BbcDdFfhIikLmNnpqRSsVvX] [-e package] [-K pkg_dbdir]",
- " [-l prefix] pkg-name ...",
+ "usage: pkg_info [-BbcDdFfhIikLmNnpqRSsVvX] [-e package] [-E package]"
+ " [-K pkg_dbdir] [-l prefix] pkg-name ...",
" pkg_info [-a | -u] [flags]",
" pkg_info [-Q variable] pkg-name ...");
exit(1);
--
Yakovetsky Vladimir