clean up file.remove docstring

This commit is contained in:
Thomas S Hatch 2013-02-08 00:15:51 -07:00
parent 6440572c1f
commit 18917c19e2

View File

@ -808,7 +808,9 @@ def remove(path):
'''
Remove the named file
salt '*' file.remove /tmp/foo
CLI Example::
salt '*' file.remove /tmp/foo
'''
if not os.path.isabs(path):
raise SaltInvocationError('File path must be absolute.')