aboutsummaryrefslogtreecommitdiff
path: root/contrib/cpt-reset
diff options
context:
space:
mode:
authormerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
committermerakor <cem@ckyln.com>2021-03-12 13:58:36 +0000
commitfc8de2a8f48485ad8b035a4e76098c4a7dbadb05 (patch)
tree8334227f749afc03c992f7d17edbf72cb5bd6ba8 /contrib/cpt-reset
parentf7d3e9f6771a75bff790c569a149f0fee1d28f41 (diff)
downloadcpt-fc8de2a8f48485ad8b035a4e76098c4a7dbadb05.tar.gz
docs: update
FossilOrigin-Name: 143ea57c3d8309faf15399199d0e2930f07371a34c08ff16e9a9f5fbb0be6a23
Diffstat (limited to 'contrib/cpt-reset')
-rwxr-xr-xcontrib/cpt-reset7
1 files changed, 7 insertions, 0 deletions
diff --git a/contrib/cpt-reset b/contrib/cpt-reset
index 90dd755..2a1b66e 100755
--- a/contrib/cpt-reset
+++ b/contrib/cpt-reset
@@ -4,6 +4,13 @@
# Disable word-splittng warnings as they're safe here.
# shellcheck disable=SC2046
+## SYNOPSIS:
+## .Nm
+## DESCRIPTION:
+## .Nm
+## removes all packages from the system that is not defined as a base package in
+## .Pa /etc/cpt-base .
+
[ "$1" ] && {
printf 'usage: %s\n\nRemove all packages not defined in the base.\n' \
"${0##*/}"