From 1d433f600e6eecfe685650a06e58d1a8edae9b5d Mon Sep 17 00:00:00 2001
From: Levente Polyak <anthraxx@archlinux.org>
Date: Sat, 27 Apr 2024 01:50:57 +0200
Subject: feat(db): confirm list of all packages that will be removed

Sometimes it isn't obvious which set of packages are removed from a
split package when the pkgbase matches also a subset of a pkgbase. This
can happen for example with bootstrapping packages, when the intention
is to just remove a partial part of the bootstrap pkgbase.

To make the intention more explicit, list all to be removed packages and
await for confirmation.

Component: pkgctl db remove
Signed-off-by: Levente Polyak <anthraxx@archlinux.org>
---
 doc/man/pkgctl-db-remove.1.asciidoc | 3 +++
 1 file changed, 3 insertions(+)

(limited to 'doc/man/pkgctl-db-remove.1.asciidoc')

diff --git a/doc/man/pkgctl-db-remove.1.asciidoc b/doc/man/pkgctl-db-remove.1.asciidoc
index 9fe07c3..85f616b 100644
--- a/doc/man/pkgctl-db-remove.1.asciidoc
+++ b/doc/man/pkgctl-db-remove.1.asciidoc
@@ -31,6 +31,9 @@ Options
 	Remove only one specific architecture (disables auto-detection).
 	By default all architectures are removed when this option is not used.
 
+*--noconfirm*::
+	Bypass any confirmation messages, should only be used with caution.
+
 *-h, --help*::
 	Show a help text
 
-- 
cgit v1.2.3-70-g09d2

