Radish alpha
H
rad:z3QDZAW2FAfuLvihrhiyDC9fAD8G9
HardenedBSD Package Manager
Radicle
Git
Add some examples on using annotations
Brad Davis committed 11 years ago
commit 0b6ebf90a93a120b4ace3182787838bfd5524073
parent 35383f5
1 file changed +14 -0
modified docs/pkg-annotate.8
@@ -167,6 +167,20 @@ for further description.
.Sh FILES
See
.Xr pkg.conf 5 .
+
.Sh EXAMPLES
+
Annotate the nginx package with the tag foo and a value of bar:
+
.Dl # pkg annotate -A nginx foo bar
+
.Pp
+
View all annotations on a package:
+
.Dl $ pkg info nginx
+
.Pp
+
Remove the annotation:
+
.Dl # pkg annotate -D nginx foo
+
.Pp
+
Show all packages with the foo annotation:
+
.Dl # pkg annotate --all --show foo
+
.Pp
+
.\" ---------------------------------------------------------------------------
.Sh SEE ALSO
.Xr pkg_printf 3 ,
.Xr pkg_repos 3 ,