From d224545e1c5d354bfa58160ab9a6cfae16b1ebaa Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Tue, 30 Jul 2024 13:36:00 +0200 Subject: [PATCH] Add an example how to disable repo to `repo` command man page While this example isn't for the `repo` command it could be useful to users looking into the man page. For: https://github.com/rpm-software-management/dnf5/issues/1213 --- doc/commands/repo.8.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/doc/commands/repo.8.rst b/doc/commands/repo.8.rst index 0f7d17144..994994e00 100644 --- a/doc/commands/repo.8.rst +++ b/doc/commands/repo.8.rst @@ -67,3 +67,7 @@ Examples ``dnf5 repo list --disabled *-debuginfo`` | Print disabled repositories related to debugging. + +``dnf5 config-manger setopt repo_id.enabled=0`` + | Persistently disable repository using the config-manger plugin command. + | See :manpage:`dnf5-config-manager(8)` for more details.