summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-07 20:49:10 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:01:26 +0200
commitad68a79d41cc03ea9faad48f34559aa3bd178902 (patch)
treeb3c8333b3a48a5aecf8d0a0f1cc6b09ff542bf5d
parent830d96b3ee792cdaebf4816e5b8d9fe0d9573c10 (diff)
downloadapk-tools-ad68a79d41cc03ea9faad48f34559aa3bd178902.tar.gz
apk-tools-ad68a79d41cc03ea9faad48f34559aa3bd178902.tar.bz2
apk-tools-ad68a79d41cc03ea9faad48f34559aa3bd178902.tar.xz
apk-tools-ad68a79d41cc03ea9faad48f34559aa3bd178902.zip
add apk-policy(8)
-rw-r--r--doc/Makefile1
-rw-r--r--doc/apk-policy.8.scd25
2 files changed, 26 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index e71a6bd..ba1cfef 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -12,6 +12,7 @@ docs: $(obj)/apk.8 \
$(obj)/apk-fix.8 \
$(obj)/apk-info.8 \
$(obj)/apk-list.8 \
+ $(obj)/apk-policy.8 \
$(obj)/apk-update.8 \
$(obj)/apk-upgrade.8 \
$(obj)/apk-repositories.5 \
diff --git a/doc/apk-policy.8.scd b/doc/apk-policy.8.scd
new file mode 100644
index 0000000..1fbb7af
--- /dev/null
+++ b/doc/apk-policy.8.scd
@@ -0,0 +1,25 @@
+apk-policy(8)
+
+# NAME
+
+apk policy - show repository policy for packages
+
+# SYNOPSIS
+
+*apk policy* [<_options_>...] _packages_...
+
+# DESCRIPTION
+
+*apk policy* shows apk's repository policy for the specified packages. It
+prints matching packages and their versions available from configured
+repositories (see *apk-repositories*(5)), in order of installation preference.
+
+# OPTIONS
+
+*apk policy* does not support any specific options. See *apk*(8) for global
+options.
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>