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

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