diff options
author | cube <cube@pkgsrc.org> | 2006-08-06 12:21:09 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2006-08-06 12:21:09 +0000 |
commit | 2f67ea37c15fab5dc1dc3d163de094eacdceca7c (patch) | |
tree | a1b087161d53ea9c4b7bf32fb7a227bcf996298b /pkgtools | |
parent | 476a9de1a8a06bc1d0118cb1ed1b23658c42b324 (diff) | |
download | pkgsrc-2f67ea37c15fab5dc1dc3d163de094eacdceca7c.tar.gz |
Fix -q which ate the next argument. Only document -i and -c in the
"Deprecated options" part of the manual.
PR#34145 by Dieter Roelants.
Diffstat (limited to 'pkgtools')
-rw-r--r-- | pkgtools/pkg_chk/Makefile | 4 | ||||
-rw-r--r-- | pkgtools/pkg_chk/files/pkg_chk.8 | 8 | ||||
-rwxr-xr-x | pkgtools/pkg_chk/files/pkg_chk.sh | 8 |
3 files changed, 7 insertions, 13 deletions
diff --git a/pkgtools/pkg_chk/Makefile b/pkgtools/pkg_chk/Makefile index 876e4e8421f..4d3a61df619 100644 --- a/pkgtools/pkg_chk/Makefile +++ b/pkgtools/pkg_chk/Makefile @@ -1,6 +1,6 @@ -# $NetBSD: Makefile,v 1.40 2006/08/04 12:04:00 rillig Exp $ +# $NetBSD: Makefile,v 1.41 2006/08/06 12:21:09 cube Exp $ -DISTNAME= pkg_chk-1.77 +DISTNAME= pkg_chk-1.78 CATEGORIES= pkgtools MASTER_SITES= # empty DISTFILES= # empty diff --git a/pkgtools/pkg_chk/files/pkg_chk.8 b/pkgtools/pkg_chk/files/pkg_chk.8 index 94bd28bb5e4..f4da3db777b 100644 --- a/pkgtools/pkg_chk/files/pkg_chk.8 +++ b/pkgtools/pkg_chk/files/pkg_chk.8 @@ -1,4 +1,4 @@ -.\" $NetBSD: pkg_chk.8,v 1.20 2006/07/28 21:58:04 wiz Exp $ +.\" $NetBSD: pkg_chk.8,v 1.21 2006/08/06 12:21:09 cube Exp $ .\" .\" Copyright (c) 2001 by David Brownlee (abs@NetBSD.org) .\" Absolutely no warranty. @@ -69,11 +69,7 @@ Can be used with .Fl a or .Fl u -to perform the fetch before any building, or with -.Fl c -or -.Fl i -to just fetch missing/mismatches packages. +to perform the fetch before any building. .It Fl g Generate an initial .Pa pkgchk.conf diff --git a/pkgtools/pkg_chk/files/pkg_chk.sh b/pkgtools/pkg_chk/files/pkg_chk.sh index 25c8f617372..c38fd781db1 100755 --- a/pkgtools/pkg_chk/files/pkg_chk.sh +++ b/pkgtools/pkg_chk/files/pkg_chk.sh @@ -1,6 +1,6 @@ #!@SH@ -e # -# $Id: pkg_chk.sh,v 1.38 2006/07/22 20:41:20 abs Exp $ +# $Id: pkg_chk.sh,v 1.39 2006/08/06 12:21:09 cube Exp $ # # TODO: Make -g check dependencies and tsort # TODO: Variation of -g which only lists top level packages @@ -546,12 +546,10 @@ usage() -B Check the "Build version" of packages -b Install binary packages -C conf Use pkgchk.conf file 'conf' - -c Check installed packages against pkgchk.conf -D tags Comma separated list of additional pkgchk.conf tags to set -f Perform a 'make fetch' for all required packages -g Generate an initial pkgchk.conf file -h This help - -i Check versions of installed packages (not using pkgchk.conf) -k Continue with further packages if errors are encountered -L file Redirect output from commands run into file (should be fullpath) -l List binary packages including dependencies (implies -c) @@ -566,7 +564,7 @@ usage() -v Verbose pkg_chk verifies installed packages against pkgsrc. -The most common usage is 'pkg_chk -i' to check all installed packages or +The most common usage is 'pkg_chk -u -q' to check all installed packages or 'pkg_chk -u' to update all out of date packages. For more advanced usage, including defining a set of desired packages based on hostname and type, see pkg_chk(8). @@ -615,7 +613,7 @@ while [ $# != 0 ]; do -N ) opt_N=1 ;; -n ) opt_n=1 ;; -P ) opt_P="$2" ; shift ;; - -q ) opt_q=1 ; shift ;; + -q ) opt_q=1 ;; -r ) opt_r=1 ;; -s ) opt_s=1 ;; -U ) opt_U="$2" ; shift ;; |