diff --git a/salt/modules/file.py b/salt/modules/file.py index c0a6b01402..af815897e8 100644 --- a/salt/modules/file.py +++ b/salt/modules/file.py @@ -1243,12 +1243,15 @@ def line(path, content, match=None, mode=None, location=None, (the original version and the edited version) in order to generate the diff. :param backup - Create a backup of the original file with the extension: - "Year-Month-Day-Hour-Minutes-Seconds". + Create a backup of the original file with the extension: + "Year-Month-Day-Hour-Minutes-Seconds". :param quiet - Do not raise any exceptions. E.g. ignore the fact that the file that is - tried to be edited does not exist and nothing really happened. + Do not raise any exceptions. E.g. ignore the fact that the file that is + tried to be edited does not exist and nothing really happened. + + :param indent + Keep indentation with the previous line. CLI Examples: