Skip to content

Commit

Permalink
Fix typos in docstrings in pkgng module
Browse files Browse the repository at this point in the history
  • Loading branch information
amendlik committed Jan 3, 2025
1 parent 9233e1c commit d08d521
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/modules/pkgng.py
Original file line number Diff line number Diff line change
Expand Up @@ -927,7 +927,7 @@ def remove(
.. note::
This function can accessed using ``pkg.delete`` in addition to
This function can be accessed using ``pkg.delete`` in addition to
``pkg.remove``, to more closely match the CLI usage of ``pkg(8)``.
name
Expand Down Expand Up @@ -1904,7 +1904,7 @@ def hold(name=None, pkgs=None, **kwargs): # pylint: disable=W0613
.. note::
This function is provided primarily for compatibility with some
parts of :py:mod:`states.pkg <salt.states.pkg>`.
Consider using Consider using :py:func:`pkg.lock <salt.modules.pkgng.lock>` instead. instead.
Consider using :py:func:`pkg.lock <salt.modules.pkgng.lock>` instead. instead.
name
The name of the package to be held.
Expand Down Expand Up @@ -2030,7 +2030,7 @@ def list_locked(**kwargs):
Query the package database those packages which are
locked against reinstallation, modification or deletion.
Returns returns a list of package names with version strings
Returns a list of package names with version strings
CLI Example:
Expand Down

0 comments on commit d08d521

Please sign in to comment.