mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Add CLI example to btrfs.version
This commit is contained in:
parent
4af9d1234e
commit
003e14a939
@ -41,6 +41,12 @@ def __virtual__():
|
||||
def version():
|
||||
'''
|
||||
Return BTRFS version.
|
||||
|
||||
CLI Example:
|
||||
|
||||
.. code-block:: bash
|
||||
|
||||
salt '*' btrfs.version
|
||||
'''
|
||||
out = __salt__['cmd.run_all']("btrfs --version")
|
||||
if out.get('stderr'):
|
||||
|
Loading…
Reference in New Issue
Block a user