Blame SOURCES/0029-Add-doc-related-to-destdir-and-downloadonly-options-.patch

eb8139
From 96a5bd61ab3b35f00f0b52bcd6428c7aea7d1ca5 Mon Sep 17 00:00:00 2001
eb8139
From: Jan Kolarik <jkolarik@redhat.com>
eb8139
Date: Wed, 7 Sep 2022 14:27:07 +0200
eb8139
Subject: [PATCH] Add doc related to --destdir and --downloadonly options
eb8139
 (RhBug:2100811)
eb8139
eb8139
= changelog =
eb8139
type: bugfix
eb8139
resolves: https://bugzilla.redhat.com/show_bug.cgi?id=2100811
eb8139
---
eb8139
 doc/command_ref.rst | 4 ++++
eb8139
 1 file changed, 4 insertions(+)
eb8139
eb8139
diff --git a/doc/command_ref.rst b/doc/command_ref.rst
eb8139
index 42aec72c..7a02448c 100644
eb8139
--- a/doc/command_ref.rst
eb8139
+++ b/doc/command_ref.rst
eb8139
@@ -190,6 +190,10 @@ Options
eb8139
 ``--downloadonly``
eb8139
     Download the resolved package set without performing any rpm transaction (install/upgrade/erase).
eb8139
 
eb8139
+    Packages are removed after the next successful transaction. This applies also when used together
eb8139
+    with ``--destdir`` option as the directory is considered as a part of the DNF cache. To persist 
eb8139
+    the packages, use the ``download`` command instead.
eb8139
+
eb8139
 ``-e <error level>, --errorlevel=<error level>``
eb8139
     Error output level. This is an integer value between 0 (no error output) and
eb8139
     10 (shows all error messages), default is 3. Deprecated, use ``-v`` instead.
eb8139
-- 
eb8139
2.37.1
eb8139