Subject: Re: PR/37265 CVS commit: pkgsrc/pkgtools/pkg_install/files/info
To: Joerg Sonnenberger <joerg@NetBSD.org>
From: Yakovetsky Vladimir <yx@x.ua>
List: pkgsrc-bugs
Date: 11/05/2007 10:50:36
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