summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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_>