]> pd.if.org Git - zpackage/blobdiff - doc/zpm-rmpackage.8
update rmpackage
[zpackage] / doc / zpm-rmpackage.8
index cffd87c83d6ed07cb306f8559be2de2dab72c471..63c2788bd7c1a9174d0ba5e9ac53af8a1e67da94 100644 (file)
@@ -1,10 +1,7 @@
-.TH zpm-rmpackage 8 2019-02-15 "ZPM 0.3"
+.TH zpm-rmpackage 8 2019-02-28 "ZPM 0.3"
 .SH NAME
 zpm-rmpackage \- remove packages from a database
 .SH SYNOPSIS
-               f) pkgfile="$OPTARG" ;;
-               v) verbose=1 ;;
-               m) message="$OPTARG" ;;
 .B zpm rmpackage
 [
 .BI -f " pkgfile"
@@ -13,6 +10,12 @@ zpm-rmpackage \- remove packages from a database
 .BI -m " message"
 ]
 [
+.BI -s " status"
+]
+[
+.BI -S " status"
+]
+[
 .B -v
 ]
 .RI [ package ...]
@@ -42,6 +45,17 @@ specify the package file to find packages in
 .BI \-m message
 specify a message for each log message.
 .TP
+.BI \-s status
+Require that packages listed have the given status.  This is primarily
+a safety feature so that you don't accidentally remove installed packages
+from the database.
+Passed through to zpm-findpkg and may be given more than once.
+.TP
+.BI \-S status
+Require that packages not have the given status.  Useful for excluding
+installed packages without specifying other statuses explicitly.
+Passed through to zpm-findpkg and may be given more than once.
+.TP
 .B \-v
 Verbose mode.
 .SH EXAMPLES
@@ -59,5 +73,5 @@ ZPM_PACKAGEFILE
 Nathan Wagner
 .SH SEE ALSO
 .BR zpm (8)
-.BR zpm-findpackage (8)
+.BR zpm-findpkg (8)
 .BR zpm-log (8)