Skip to content

Commit

Permalink
Update of documentation for remove command behavior
Browse files Browse the repository at this point in the history
  • Loading branch information
j-mracek committed Jan 8, 2024
1 parent dab4d56 commit 48b2773
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
4 changes: 4 additions & 0 deletions doc/changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,10 @@ Needs-restarting command
* Dropped ``-r, --reboothint`` option; this is now the default behavior.
* Dropped ``-u, --useronly`` option.

Remove command
--------------
* Command does not remove packages according to provides, but only according NEVRA or file provide match

Repoclosure command
-------------------
* Dropped ``--pkg`` option. Positional arguments can be used to specify packages to check closure for.
Expand Down
4 changes: 3 additions & 1 deletion doc/commands/remove.8.rst
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@
Synopsis
========

``dnf5 remove [options] <package-spec>...``
``dnf5 remove [options] [<spec>...]``


Description
===========

The ``remove`` command in ``DNF5`` is used for removing installed packages from the system.
Arguments defined in ``spec`` list are used as ``<package-file-spec>``.

If you want to keep the dependencies that were installed together with the given package,
set the ``clean_requirements_on_remove`` configuration option to ``False``.

Expand Down

0 comments on commit 48b2773

Please sign in to comment.