Skip to content

Commit

Permalink
doc: --disableexcludepkgs=all doesn't affect just file configuration
Browse files Browse the repository at this point in the history
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=`.
  • Loading branch information
kontura authored and m-blaha committed Dec 13, 2024
1 parent 130d6b9 commit 8fcd664
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions doc/command_ref.rst
Original file line number Diff line number Diff line change
Expand Up @@ -165,11 +165,13 @@ Options
.. _disableexcludes-label:

``--disableexcludes=[all|main|<repoid>], --disableexcludepkgs=[all|main|<repoid>]``
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 <exclude_option-label>` 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
Expand Down

0 comments on commit 8fcd664

Please sign in to comment.