Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/usr.sbin/pkg_install/admin Pull up revision 1.22 (reque...



details:   https://anonhg.NetBSD.org/src/rev/9c45525f0bb6
branches:  netbsd-1-5
changeset: 491319:9c45525f0bb6
user:      he <he%NetBSD.org@localhost>
date:      Mon Apr 23 21:45:25 2001 +0000

description:
Pull up revision 1.22 (requested by hubertf):
  Update pkg_admin(8) usage message to include lsall and lsbest.

diffstat:

 usr.sbin/pkg_install/admin/main.c |  16 +++++++++-------
 1 files changed, 9 insertions(+), 7 deletions(-)

diffs (35 lines):

diff -r e274c8f00e6f -r 9c45525f0bb6 usr.sbin/pkg_install/admin/main.c
--- a/usr.sbin/pkg_install/admin/main.c Mon Apr 23 21:35:46 2001 +0000
+++ b/usr.sbin/pkg_install/admin/main.c Mon Apr 23 21:45:25 2001 +0000
@@ -1,8 +1,8 @@
-/*     $NetBSD: main.c,v 1.13.4.2 2001/03/20 17:58:09 he Exp $ */
+/*     $NetBSD: main.c,v 1.13.4.3 2001/04/23 21:45:25 he Exp $ */
 
 #include <sys/cdefs.h>
 #ifndef lint
-__RCSID("$NetBSD: main.c,v 1.13.4.2 2001/03/20 17:58:09 he Exp $");
+__RCSID("$NetBSD: main.c,v 1.13.4.3 2001/04/23 21:45:25 he Exp $");
 #endif
 
 /*
@@ -556,13 +556,15 @@
 {
        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);
 }
 



Home | Main Index | Thread Index | Old Index