diff options
author | sobomax <sobomax@FreeBSD.org> | 2001-09-19 08:06:48 +0000 |
---|---|---|
committer | sobomax <sobomax@FreeBSD.org> | 2001-09-19 08:06:48 +0000 |
commit | 7942a4e1d2c7f9c821cae968af1b156019372d2a (patch) | |
tree | 983c446512bc26a2723c915739303dcac0da1570 /usr.sbin/pkg_install/delete/pkg_delete.1 | |
parent | de49b782662799d33adbe3450f5c4cbdb697a7f0 (diff) | |
download | FreeBSD-src-7942a4e1d2c7f9c821cae968af1b156019372d2a.zip FreeBSD-src-7942a4e1d2c7f9c821cae968af1b156019372d2a.tar.gz |
Various fixes and improvements:
- fix harmless compiler's warnings (unused variables and missed prototype);
- before refusing to delete package because "there are packages installed
that require this package" check that packages in question is actually
installed;
- add new `-r' option to pkg_delete(8), which instructs it to delete not only
packages specified at command line, but all packages that depend on
specified packages as well.
MFC after: 2 weeks
Diffstat (limited to 'usr.sbin/pkg_install/delete/pkg_delete.1')
-rw-r--r-- | usr.sbin/pkg_install/delete/pkg_delete.1 | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/usr.sbin/pkg_install/delete/pkg_delete.1 b/usr.sbin/pkg_install/delete/pkg_delete.1 index c998bb3..947939b 100644 --- a/usr.sbin/pkg_install/delete/pkg_delete.1 +++ b/usr.sbin/pkg_install/delete/pkg_delete.1 @@ -25,7 +25,7 @@ .Nd a utility for deleting previously installed software package distributions .Sh SYNOPSIS .Nm -.Op Fl dDfGinvx +.Op Fl dDfGinrvx .Op Fl p Ar prefix .Ar pkg-name ... .Nm @@ -119,6 +119,9 @@ provided, in that case .Nm deletes all packages that match at least one regular expression from the list. +.It Fl r +Recursive removal. In addition to specified packages, delete all +packages that depend on those packages as well. .El .Sh TECHNICAL DETAILS .Nm |