Fix up definition of SHOW_BI_VAR, the prototype for show_var(), and the

usage string for pkg_info(1).  Also bump the version to 20040508.  From
pkg/25494 by FUKAUMI Naoki.
This commit is contained in:
jlam 2004-05-07 21:38:57 +00:00
parent 542839207d
commit 04d5477295
3 changed files with 8 additions and 8 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: info.h,v 1.15 2004/05/07 16:40:30 jlam Exp $ */
/* $NetBSD: info.h,v 1.16 2004/05/07 21:38:57 jlam Exp $ */
/* from FreeBSD Id: info.h,v 1.10 1997/02/22 16:09:40 peter Exp */
@ -51,7 +51,7 @@
#define SHOW_PKG_SIZE 0x08000
#define SHOW_ALL_SIZE 0x10000
#define SHOW_BLD_DEPENDS 0x20000
#define SHOW_BI_VAR 0x20000
#define SHOW_BI_VAR 0x40000
extern int Flags;
extern Boolean AllInstalled;
@ -66,7 +66,7 @@ extern size_t termwidth;
extern lpkg_head_t pkgs;
extern void show_file(char *, char *);
extern void show_build_info_var(const char *);
extern void show_var(const char *, const char *);
extern void show_plist(char *, package_t *, pl_ent_t);
extern void show_files(char *, package_t *);
extern void show_depends(char *, package_t *);

View File

@ -1,11 +1,11 @@
/* $NetBSD: main.c,v 1.40 2004/05/07 16:40:30 jlam Exp $ */
/* $NetBSD: main.c,v 1.41 2004/05/07 21:38:57 jlam Exp $ */
#include <sys/cdefs.h>
#ifndef lint
#if 0
static char *rcsid = "from FreeBSD Id: main.c,v 1.14 1997/10/08 07:47:26 charnier Exp";
#else
__RCSID("$NetBSD: main.c,v 1.40 2004/05/07 16:40:30 jlam Exp $");
__RCSID("$NetBSD: main.c,v 1.41 2004/05/07 21:38:57 jlam Exp $");
#endif
#endif
@ -55,7 +55,7 @@ lpkg_head_t pkgs;
static void
usage(void)
{
fprintf(stderr, "%s\n%s\n%s\n",
fprintf(stderr, "%s\n%s\n%s\n%s\n",
"usage: pkg_info [-BbcDdFfIikLmNnpqRrSsVvh] [-e package] [-l prefix]",
" pkg-name [pkg-name ...]",
" pkg_info -a [flags]",

View File

@ -1,4 +1,4 @@
/* $NetBSD: version.h,v 1.51 2004/05/07 16:40:31 jlam Exp $ */
/* $NetBSD: version.h,v 1.52 2004/05/07 21:38:57 jlam Exp $ */
/*
* Copyright (c) 2001 Thomas Klausner. All rights reserved.
@ -33,6 +33,6 @@
#ifndef _INST_LIB_VERSION_H_
#define _INST_LIB_VERSION_H_
#define PKGTOOLS_VERSION "20040507"
#define PKGTOOLS_VERSION "20040508"
#endif /* _INST_LIB_VERSION_H_ */