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

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