From 4b52ef9a978a371e2032eb2a548fc4b924f8cef4 Mon Sep 17 00:00:00 2001 From: Michael Eischer Date: Fri, 15 May 2026 22:44:27 +0200 Subject: [PATCH] doc: correct description of forget --tag --- doc/060_forget.rst | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/060_forget.rst b/doc/060_forget.rst index a83364adb..71d7ed0fa 100644 --- a/doc/060_forget.rst +++ b/doc/060_forget.rst @@ -234,9 +234,11 @@ command to the same value. Additionally, you can restrict the policy to only process snapshots which have a particular hostname with the ``--host`` parameter, or tags with the ``--tag`` -option. When multiple tags are specified, only the snapshots which have all the -tags are considered. For example, the following command removes all but the -latest snapshot of all snapshots that have the tag ``foo``: +option. Each ``--tag`` argument defines a tag list: tags separated by commas +mean the snapshot must have all of those tags (AND within the list). When +``--tag`` is given multiple times, the lists are combined with OR (the snapshot +is considered if it matches any list). For example, the following command +removes all but the latest snapshot of all snapshots that have the tag ``foo``: .. code-block:: console