Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

doc: --disableexcludepkgs=all doesn't affect just file configuration #2176

Merged
merged 1 commit into from
Dec 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading