Change crlf to cr-lf in docs (#7766)

## Summary
This change fixes an error in the documentation where cr-lf was
displayed as crlf which if you tried to enter into the configuration
file running ruff would break.

## Test Plan
I ran the tests locally and I ran the documentation server locally and
verified the edit

### [Documentation
Site](https://docs.astral.sh/ruff/settings/#format-line-ending)

![image](8e63e49c-63ff-4027-a583-537c710e1305)

### Local

![image](8845a235-8b2c-4157-99c8-908ee8f039b3)
This commit is contained in:
Colton Berry 2023-10-02 14:09:11 -07:00 committed by GitHub
parent c6d0bdd572
commit 55fa887099
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -2557,7 +2557,7 @@ pub struct FormatOptions {
/// * `native`: Line endings will be converted to `\n` on Unix and `\r\n` on Windows.
#[option(
default = r#"lf"#,
value_type = r#""lf" | "crlf" | "auto" | "native""#,
value_type = r#""lf" | "cr-lf" | "auto" | "native""#,
example = r#"
# Automatically detect the line ending on a file per file basis.
line-ending = "auto"