docs: Use capital letters for CSV and JSON acronyms (#8459)

Capital letters matter! 😉 
<img width="927" alt="Screenshot 2023-03-15 at 06 54 22"
src="https://user-images.githubusercontent.com/3862051/225219635-cfde7c3b-66c1-40a5-87f5-0d1a5d41955e.png">

See https://github.com/nushell/nushell.github.io/pull/827/files that was
created before this one.
This commit is contained in:
Nicolas Kosinski 2023-03-16 05:52:13 +01:00 committed by GitHub
parent 0b97f52a8b
commit 8c487edf62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 4 deletions

View File

@ -22,7 +22,7 @@ impl Command for OpenDataFrame {
}
fn usage(&self) -> &str {
"Opens csv, json, arrow, or parquet file to create dataframe."
"Opens CSV, JSON, arrow, or parquet file to create dataframe."
}
fn signature(&self) -> Signature {

View File

@ -19,7 +19,7 @@ impl Command for ToCSV {
}
fn usage(&self) -> &str {
"Saves dataframe to csv file."
"Saves dataframe to CSV file."
}
fn signature(&self) -> Signature {
@ -40,12 +40,12 @@ impl Command for ToCSV {
fn examples(&self) -> Vec<Example> {
vec![
Example {
description: "Saves dataframe to csv file",
description: "Saves dataframe to CSV file",
example: "[[a b]; [1 2] [3 4]] | dfr into-df | dfr to-csv test.csv",
result: None,
},
Example {
description: "Saves dataframe to csv file using other delimiter",
description: "Saves dataframe to CSV file using other delimiter",
example: "[[a b]; [1 2] [3 4]] | dfr into-df | dfr to-csv test.csv -d '|'",
result: None,
},