mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
clean up file.remove docstring
This commit is contained in:
parent
6440572c1f
commit
18917c19e2
@ -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.')
|
||||
|
Loading…
Reference in New Issue
Block a user