Add CLI example to btrfs.version

This commit is contained in:
rallytime 2014-11-14 16:05:36 -07:00
parent 4af9d1234e
commit 003e14a939

View File

@ -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'):