Additional docstrings auto-fixes

This commit is contained in:
Pedro Algarvio 2021-07-07 18:56:20 +01:00 committed by Megan Wilhite
parent 3dc2834bfa
commit 3f3c7e5be6
4 changed files with 5 additions and 6 deletions

View file

@ -533,7 +533,7 @@ def delete_key(
Whether to use a passphrase with the signing key. Passphrase is received
from Pillar.
.. versionadded: 3003
.. versionadded:: 3003
CLI Example:
@ -830,7 +830,7 @@ def export_key(
Whether to use a passphrase with the signing key. Passphrase is received
from Pillar.
.. versionadded: 3003
.. versionadded:: 3003
CLI Example:

View file

@ -2043,6 +2043,8 @@ def update(
See :py:func:`pkg.upgrade <salt.modules.yumpkg.upgrade>` for
further documentation.
CLI Example:
.. code-block:: bash
salt '*' pkg.update
@ -3434,7 +3436,6 @@ def services_need_restart(**kwargs):
Requires systemd.
CLI Examples:
.. code-block:: bash

View file

@ -1155,7 +1155,7 @@ def get(*dataset, **kwargs):
comma-separated list of types to display, where type is one of
filesystem, snapshot, volume, bookmark, or all.
.. versionchanged:: Silicon
.. versionchanged:: 3004
type is ignored on Solaris 10 and 11 since not a valid parameter on those platforms

View file

@ -2102,7 +2102,6 @@ def unhold(name=None, pkgs=None, **kwargs):
A list of packages to unhold. The ``name`` parameter will be ignored if
this option is passed.
CLI Example:
.. code-block:: bash
@ -2201,7 +2200,6 @@ def hold(name=None, pkgs=None, **kwargs):
A list of packages to hold. The ``name`` parameter will be ignored if
this option is passed.
CLI Example:
.. code-block:: bash