From 8fcd66448e315fb5bb4a05b53281e5ffc762c14f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ale=C5=A1=20Mat=C4=9Bj?= Date: Thu, 12 Dec 2024 12:59:03 +0100 Subject: [PATCH] doc: `--disableexcludepkgs=all` doesn't affect just file configuration The option `--disableexcludepkgs=all` disables all configuration includes and excludes including packages specified on the commandline via `--exclude=`, `-x=`, the deprecated `--excludepkgs=` and file configuration via `--excludepkgs=`, `--includepkgs=`. --- doc/command_ref.rst | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/doc/command_ref.rst b/doc/command_ref.rst index fd4a665503..ebbb6d6a76 100644 --- a/doc/command_ref.rst +++ b/doc/command_ref.rst @@ -165,11 +165,13 @@ Options .. _disableexcludes-label: ``--disableexcludes=[all|main|], --disableexcludepkgs=[all|main|]`` - Disable the configuration file excludes. Takes one of the following three options: + Disable ``excludepkgs`` and ``includepkgs`` configuration options. Takes one of the following three options: - * ``all``, disables all configuration file excludes - * ``main``, disables excludes defined in the ``[main]`` section - * ``repoid``, disables excludes defined for the given repository + * ``all``, disables all ``excludepkgs`` and ``includepkgs`` configurations + * ``main``, disables ``excludepkgs`` and ``includepkgs`` defined in the ``[main]`` section + * ``repoid``, disables ``excludepkgs`` and ``includepkgs`` defined for the given repository + + Note that the \-\ :ref:`-exclude ` option appends to the ``[main]`` ``excludepkgs`` configuration and therefore is disabled when ``main`` or ``all`` is specified. ``--disable, --set-disabled`` Disable specified repositories (automatically saves). The option has to be used together with the