mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update docstrings according to the bugfix
This commit is contained in:
parent
46d86b21d5
commit
77dc8695af
1 changed files with 10 additions and 0 deletions
|
@ -403,6 +403,11 @@ def latest_version(*names, **kwargs):
|
|||
If the latest version of a given package is already installed, an empty
|
||||
dict will be returned for that package.
|
||||
|
||||
refresh
|
||||
force a refresh if set to True (default).
|
||||
If set to False it depends on zypper if a refresh is
|
||||
executed or not.
|
||||
|
||||
CLI example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
@ -438,6 +443,11 @@ def upgrade_available(name, **kwargs):
|
|||
'''
|
||||
Check whether or not an upgrade is available for a given package
|
||||
|
||||
refresh
|
||||
force a refresh if set to True (default).
|
||||
If set to False it depends on zypper if a refresh is
|
||||
executed or not.
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
|
Loading…
Add table
Reference in a new issue