Alter the default behaviour of pkg_info. With no options given, behave as

if -Ia was given, instead of showing usage.
This commit is contained in:
hubertf 1997-11-13 15:15:48 +00:00
parent 3749cf660a
commit 793d82f785

View File

@ -1,11 +1,11 @@
/* $NetBSD: main.c,v 1.4 1997/10/17 14:54:13 lukem Exp $ */
/* $NetBSD: main.c,v 1.5 1997/11/13 15:15:48 hubertf 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.4 1997/10/17 14:54:13 lukem Exp $");
__RCSID("$NetBSD: main.c,v 1.5 1997/11/13 15:15:48 hubertf Exp $");
#endif
#endif
@ -36,8 +36,8 @@ __RCSID("$NetBSD: main.c,v 1.4 1997/10/17 14:54:13 lukem Exp $");
static char Options[] = "acdDe:fikrRpLqImvhl:";
int Flags = 0;
Boolean AllInstalled = FALSE;
int Flags = SHOW_INDEX;
Boolean AllInstalled = TRUE;
Boolean Quiet = FALSE;
char *InfoPrefix = "";
char PlayPen[FILENAME_MAX];