summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2020-01-06 22:46:02 -0500
committerTimo Teräs <timo.teras@iki.fi>2020-01-26 09:01:26 +0200
commit9b07a6b01dd4781325411848c6ca92f4d3f28fc7 (patch)
tree9daa92ff60224e9715600d7d49c4c0f63e224534 /doc
parent6d507b90727aa02fbe358d2bbe457e68121fcbd5 (diff)
downloadapk-tools-9b07a6b01dd4781325411848c6ca92f4d3f28fc7.tar.gz
apk-tools-9b07a6b01dd4781325411848c6ca92f4d3f28fc7.tar.bz2
apk-tools-9b07a6b01dd4781325411848c6ca92f4d3f28fc7.tar.xz
apk-tools-9b07a6b01dd4781325411848c6ca92f4d3f28fc7.zip
add apk-del(8)
Diffstat (limited to 'doc')
-rw-r--r--doc/Makefile1
-rw-r--r--doc/apk-del.8.scd51
2 files changed, 52 insertions, 0 deletions
diff --git a/doc/Makefile b/doc/Makefile
index b1fce65..3260e5f 100644
--- a/doc/Makefile
+++ b/doc/Makefile
@@ -6,6 +6,7 @@ $(obj)/%.8: $(src)/%.8.scd
docs: $(obj)/apk.8 \
$(obj)/apk-add.8 \
+ $(obj)/apk-del.8 \
$(obj)/apk-repositories.5 \
$(obj)/apk-world.5
targets += docs
diff --git a/doc/apk-del.8.scd b/doc/apk-del.8.scd
new file mode 100644
index 0000000..85c6034
--- /dev/null
+++ b/doc/apk-del.8.scd
@@ -0,0 +1,51 @@
+apk-del(8)
+
+# NAME
+
+apk del - remove packages from _world_ and commit changes
+
+# SYNOPSIS
+
+*apk del* [<_options_>...] _packages_...
+
+# DESCRIPTION
+
+*apk del* removes packages from _world_ and uninstalls them if no longer
+required by any other packages.
+
+# OPTIONS
+
+## COMMIT OPTIONS
+
+*apk del* commits the database, and supports the same options as other commit
+operations.
+
+*-s, --simulate*
+ Simulate the requested operation without making any changes.
+
+*--clean-protected*
+ Do not create .apk-new files in configuration directories.
+
+*--overlay-from-stdin*
+ Read list of overlay files from stdin.
+
+*--no-scripts*
+ Do not execute any scripts.
+
+*--no-commit-hooks*
+ Skip pre/post hook scripts (but not other scripts).
+
+*--initramfs-diskless-boot*
+ Enables options for diskless initramfs boot (e.g. skip hooks).
+
+## DELETE OPTIONS
+
+The following options affect the *delete* operation.
+
+*-r, --rdepends*
+ Recursively delete all top-level reverse dependencies, too.
+
+# AUTHORS
+
+Natanael Copa <ncopa@alpinelinux.org>++
+Timo Teräs <_timo.teras@iki.fi_>