summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2005-11-16 22:57:24 +0000
committerwiz <wiz@pkgsrc.org>2005-11-16 22:57:24 +0000
commitb73bd2c8417d98536a17b7a9c76399e0e9e3ccee (patch)
treecb1669455658204bd89fc85e02af8d724e0a38d8 /security
parent6d59768b31db420ee82ce503652e90522eaac69e (diff)
downloadpkgsrc-b73bd2c8417d98536a17b7a9c76399e0e9e3ccee.tar.gz
Improve usage. Add -K description.
Diffstat (limited to 'security')
-rwxr-xr-xsecurity/audit-packages/files/audit-packages9
1 files changed, 5 insertions, 4 deletions
diff --git a/security/audit-packages/files/audit-packages b/security/audit-packages/files/audit-packages
index c92fb98b4af..dc37967ea87 100755
--- a/security/audit-packages/files/audit-packages
+++ b/security/audit-packages/files/audit-packages
@@ -1,6 +1,6 @@
#! @SH@
#
-# $NetBSD: audit-packages,v 1.24 2005/11/16 20:47:56 erh Exp $
+# $NetBSD: audit-packages,v 1.25 2005/11/16 22:57:24 wiz Exp $
#
# Copyright (c) 2000-2003 Alistair Crooks. All rights reserved.
#
@@ -48,14 +48,15 @@ usage() {
argv0="${1##*/}"
cat <<EOF
$2
-Usage: $argv0 [-vd] [-K <pkg_dbdir>] [-p <package>]
- [-i [<vulnid>|pkgpat:<pkgpat> [...]]
- -v : Verbose mode
+Usage: $argv0 [-dv] [-i vulnid:id|pkgpat:pattern]
+ [-K pkg_dbdir] [-p package]
-d : Run download-vulnerability-list before anything else.
-i : Ignore packages matching one of the specified vulnerabilities,
or matching one of the provided patterns.
Repeated -i options add to the ignore list.
+ -K : Use pkg_dbdir as PKG_DBDIR.
-p : Check a specific package for vulnerabilities.
+ -v : Verbose mode
EOF
exit 1
}