Fix "of pass" typo in grains.delval docs: change to "or pass"

Fixes #47264

This also fixes the syntax highlighting since rst needs double backticks
rather than single backticks.
This commit is contained in:
rallytime 2018-04-27 15:44:26 -04:00
parent 31db8ca7ad
commit a43485b49c
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -453,8 +453,8 @@ def delval(key, destructive=False):
.. versionadded:: 0.17.0
Delete a grain value from the grains config file. This will just set the
grain value to `None`. To completely remove the grain run `grains.delkey`
of pass `destructive=True` to `grains.delval`.
grain value to ``None``. To completely remove the grain, run ``grains.delkey``
or pass ``destructive=True`` to ``grains.delval``.
key
The grain key from which to delete the value.