Point to the various commands of pkg_admin that replace audit-packages,
not just fetch-pkg-vulnerabilities. Suggested by David Holland.
This commit is contained in:
parent
df4589ae4b
commit
3fe7d4b4fb
1 changed files with 4 additions and 2 deletions
|
@ -7,7 +7,8 @@ usage() {
|
|||
echo ' [-g file] [-h file]' >& $2
|
||||
echo ' [-K pkg_dbdir] [-n package] [-p package]' >& $2
|
||||
echo ' [-Q varname] [-t type]' >& $2
|
||||
echo "Please use \`\`pkg_admin fetch-pkg-vulnerabilities'' instead." >& $2
|
||||
echo "Please use the audit, audit-pkg, audit-batch and fetch-pkg-vulnerabilities" >& $2
|
||||
echo "commands of pkg_admin instead." >& $2
|
||||
exit $1
|
||||
}
|
||||
|
||||
|
@ -50,7 +51,8 @@ while [ $# -gt 0 ]; do
|
|||
;;
|
||||
-c)
|
||||
echo "The audit-packages wrapper does not support -c" >&2
|
||||
echo "Please switch to \`\`pkg_admin fetch-pkg-vulnerabilities''." >&2
|
||||
echo "Please use the audit, audit-pkg, audit-batch and fetch-pkg-vulnerabilities" >& 2
|
||||
echo "commands of pkg_admin instead." >& 2
|
||||
exit 1
|
||||
;;
|
||||
-d)
|
||||
|
|
Loading…
Reference in a new issue