Merge pull request #23331 from cro/cmdshell_doc

Add versionadded
This commit is contained in:
Nicole Thomas 2015-05-04 10:18:43 -06:00
commit dbb794e8bb

View File

@ -705,6 +705,8 @@ def shell(cmd,
'''
Execute the passed command and return the output as a string.
.. versionadded:: 2015.2.0
************************************************************
WARNING: This passes the cmd argument directly to the shell
without any further processing! Be absolutely sure that you
@ -1571,6 +1573,8 @@ def shells():
'''
Lists the valid shells on this system via the /etc/shells file
.. versionadded:: 2015.2.0
CLI Example::
salt '*' cmd.shells