mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
Merge pull request #11896 from corywright/fix-file-replace-docs
Add missing : from end of three params in file.replace documentation
This commit is contained in:
commit
200aaccd5d
@ -937,11 +937,11 @@ def replace(path,
|
||||
buffering.
|
||||
:type bufsize: int or str
|
||||
|
||||
:param append_if_not_found If pattern is not found and set to ``True``
|
||||
:param append_if_not_found: If pattern is not found and set to ``True``
|
||||
then, the content will be appended to the file.
|
||||
:param prepend_if_not_found If pattern is not found and set to ``True``
|
||||
:param prepend_if_not_found: If pattern is not found and set to ``True``
|
||||
then, the content will be appended to the file.
|
||||
:param not_found_content Content to use for append/prepend if not found. If
|
||||
:param not_found_content: Content to use for append/prepend if not found. If
|
||||
None (default), uses repl. Useful when repl uses references to group in
|
||||
pattern.
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user