File 0002-doc-state-repoid-as-repo-identifier-of-config-manage.patch of Package dnf-plugins-core
From f6dcc8bab12cd85bb5b99c12ddb3c168c38462af Mon Sep 17 00:00:00 2001
From: Jaroslav Mracek <jmracek@redhat.com>
Date: Thu, 28 Mar 2019 18:45:21 +0100
Subject: [PATCH 2/2] [doc] state repoid as repo identifier of config-manager
(RhBug:1686779)
It explicitly states that config-manager accept a repoid. Using the
repoid is the best way because it is unique identificator of
the repository.
https://bugzilla.redhat.com/show_bug.cgi?id=1686779
---
doc/config_manager.rst | 21 +++++++++++----------
1 file changed, 11 insertions(+), 10 deletions(-)
diff --git a/doc/config_manager.rst b/doc/config_manager.rst
index 360bb8f..2feafcb 100644
--- a/doc/config_manager.rst
+++ b/doc/config_manager.rst
@@ -26,15 +26,15 @@ repositories are enabled or disabled, and add new repositories.
Synopsis
--------
-``dnf config-manager [options] <repo>...``
+``dnf config-manager [options] <repoid>...``
---------
Arguments
---------
-``<repo>``
- Display / modify specified repository. If not specified display / modify main DNF configuration.
- Repositories can be specified using globs.
+``<repoid>``
+ Display / modify a repository identified by <repoid>. If not specified, display / modify
+ main DNF configuration. Repositories can be specified using globs.
-------
Options
@@ -71,11 +71,12 @@ Examples
``dnf config-manager --dump``
Display main DNF configuration.
-``dnf config-manager repo --dump``
- Display configuration of repo.
+``dnf config-manager <repoid> --dump``
+ Display configuration of a repository identified by <repoid>.
-``dnf config-manager --set-enabled repo``
- Enable repo and make the change permanent.
+``dnf config-manager --set-enabled <repoid>``
+ Enable repository identified by <repoid> and make the change permanent.
-``dnf config-manager --setopt proxy=http://proxy.example.com:3128/ repo1 repo2 --save``
- Update proxy setting in repo1 and repo2 and make the change permanent.
+``dnf config-manager --setopt proxy=http://proxy.example.com:3128/ <repo1> <repo2> --save``
+ Update proxy setting in repositories with repoid <repo1> and <repo2> and make the change
+ permanent.
--
2.20.1