summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2009-09-29 11:08:42 +0200
committerJuergen Daubert <jue@jue.li>2009-09-29 11:08:42 +0200
commit5c530bb5034d8b1be5b5e9b49a8ced19a2fcf9d9 (patch)
tree0c600a9bc23e69158f8265ba64eb7d421d7d5cd6
parente4eeb3cb9c023a14d32ba1d18829b48b361f7d17 (diff)
downloadprt-utils-5c530bb5034d8b1be5b5e9b49a8ced19a2fcf9d9.tar.gz
prt-utils-5c530bb5034d8b1be5b5e9b49a8ced19a2fcf9d9.tar.xz
prtsweep: remove non-working -p option
-rwxr-xr-xprtsweep8
-rw-r--r--prtsweep.19
2 files changed, 3 insertions, 14 deletions
diff --git a/prtsweep b/prtsweep
index bf242e3..ec4f208 100755
--- a/prtsweep
+++ b/prtsweep
@@ -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
}
diff --git a/prtsweep.1 b/prtsweep.1
index 47a2662..de49808 100644
--- a/prtsweep.1
+++ b/prtsweep.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.

Generated by cgit