mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-04 11:45:00 +00:00
feat: Add line endings configuration option for file writing
This commit is contained in:
parent
ac26fc6d5f
commit
c3952cb985
3 changed files with 11 additions and 1 deletions
|
@ -766,6 +766,12 @@ def get_parser(default_config_files, git_root):
|
|||
default="utf-8",
|
||||
help="Specify the encoding for input and output (default: utf-8)",
|
||||
)
|
||||
group.add_argument(
|
||||
"--line-endings",
|
||||
choices=["platform", "lf", "crlf"],
|
||||
default="platform",
|
||||
help="Line endings to use when writing files (default: platform)",
|
||||
)
|
||||
group.add_argument(
|
||||
"-c",
|
||||
"--config",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue