diff options
author | cube <cube> | 2006-08-06 12:21:09 +0000 |
---|---|---|
committer | cube <cube> | 2006-08-06 12:21:09 +0000 |
commit | 8a0d2e269ceb2963083211592093500b41b2fcd6 (patch) | |
tree | a1b087161d53ea9c4b7bf32fb7a227bcf996298b /pkgtools/pkg_chk/files/pkg_chk.sh | |
parent | d2b36fa9cc53370fcbbff5ea749feeeafba95c35 (diff) | |
download | pkgsrc-8a0d2e269ceb2963083211592093500b41b2fcd6.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/pkg_chk/files/pkg_chk.sh')
-rwxr-xr-x | pkgtools/pkg_chk/files/pkg_chk.sh | 8 |
1 files changed, 3 insertions, 5 deletions
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 ;; |