Include lsall and lsbest in usage message.

This commit is contained in:
hubertf 2001-04-14 00:01:28 +00:00
parent bf2dcec4f5
commit 5db44bee09

View File

@ -1,8 +1,8 @@
/* $NetBSD: main.c,v 1.21 2001/03/05 16:53:13 wiz Exp $ */
/* $NetBSD: main.c,v 1.22 2001/04/14 00:01:28 hubertf Exp $ */
#include <sys/cdefs.h>
#ifndef lint
__RCSID("$NetBSD: main.c,v 1.21 2001/03/05 16:53:13 wiz Exp $");
__RCSID("$NetBSD: main.c,v 1.22 2001/04/14 00:01:28 hubertf Exp $");
#endif
/*
@ -556,13 +556,15 @@ usage(void)
{
printf("usage: pkg_admin [-V] command args ...\n"
"Where 'commands' and 'args' are:\n"
" rebuild - rebuild pkgdb from +CONTENTS files\n"
" check [pkg ...] - check md5 checksum of installed files\n"
" rebuild - rebuild pkgdb from +CONTENTS files\n"
" check [pkg ...] - check md5 checksum of installed files\n"
#ifdef PKGDB_DEBUG
" add key value - add key & value\n"
" delete key - delete reference to key\n"
" add key value - add key & value\n"
" delete key - delete reference to key\n"
#endif
" dump - dump database\n");
" lsall /path/to/pkgpattern - list all pkgs matching the pattern\n"
" lsbest /path/to/pkgpattern - list pkgs matching the pattern best\n"
" dump - dump database\n");
exit(1);
}