diff options
author | Juergen Daubert <jue@jue.li> | 2009-09-29 11:08:42 +0200 |
---|---|---|
committer | Juergen Daubert <jue@jue.li> | 2009-09-29 11:08:42 +0200 |
commit | 5c530bb5034d8b1be5b5e9b49a8ced19a2fcf9d9 (patch) | |
tree | 0c600a9bc23e69158f8265ba64eb7d421d7d5cd6 | |
parent | e4eeb3cb9c023a14d32ba1d18829b48b361f7d17 (diff) | |
download | prt-utils-5c530bb5034d8b1be5b5e9b49a8ced19a2fcf9d9.tar.gz prt-utils-5c530bb5034d8b1be5b5e9b49a8ced19a2fcf9d9.tar.xz |
prtsweep: remove non-working -p option
-rwxr-xr-x | prtsweep | 8 | ||||
-rw-r--r-- | prtsweep.1 | 9 |
2 files changed, 3 insertions, 14 deletions
@@ -126,11 +126,7 @@ sweep() { } getoptions() { - while [ "$1" = "-a" -o "$1" = "-d" -o "$1" = "-n" -o "$1" = "-p" ]; do - if [ "$1" = "-p" ]; then - all=1 - shift - fi + while [ "$1" = "-a" -o "$1" = "-d" -o "$1" = "-n" ]; do if [ "$1" = "-n" ]; then dryrun=1 shift @@ -149,7 +145,7 @@ getoptions() { usage() { echo - echo "Usage: prtsweep [-a] [-d] [-n] [-p] [PORTDIR ...]" + echo "Usage: prtsweep [-a] [-d] [-n] [PORTDIR ...]" echo exit 1 } @@ -20,8 +20,7 @@ in the Pkgfile or package files with a name like .fi .PP All other files are removed. If a port directory is empty, the whole directory -can be removed with the \fI\-d\fP option. Even old package files can be removed -with the \fI\-p\fP option. +can be removed with the \fI\-d\fP option. .SH OPTIONS The following options are supported: @@ -46,10 +45,6 @@ to first remove the files and second remove the empty directory. .TP .I "\-n" Dryrun. Do not remove anything really. -.TP -.I "\-p" -Removes also pkgfiles. Only the newest pkgfile is kept in the -ports directory. .SH EXAMPLES @@ -80,5 +75,3 @@ for all ports directories and cleans them automatically: Martin Opel <mo@obbl-net.de> .SH "SEE ALSO" prtwash(1) -.SH BUGS -The \fI\-p\fP option is not working yet. |