Skip to content
This repository has been archived by the owner on Aug 31, 2023. It is now read-only.

docs: change "tabs" to "tab" in format help command #4387

Merged
merged 1 commit into from
Apr 19, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion crates/rome_cli/src/commands/help.rs
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ const CHECK: Markup = markup! {

const FORMAT_OPTIONS: Markup = markup! {
"
"<Dim>"--indent-style <tabs|space>"</Dim>" Change the indention character (default: tabs)
"<Dim>"--indent-style <tab|space>"</Dim>" Change the indention character (default: tab)
"<Dim>"--indent-size <number>"</Dim>" If the indentation style is set to spaces, determine how many spaces should be used for indentation (default: 2)
"<Dim>"--line-width <number>"</Dim>" Change how many characters the formatter is allowed to print in a single line (default: 80)
"<Dim>"--quote-style <single|double>"</Dim>" Changes the quotation character for strings (default: double)
Expand Down
2 changes: 1 addition & 1 deletion website/src/pages/formatter/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ OPTIONS:
--max-diagnostics Cap the amount of diagnostics displayed (default: 50)
--config-path Set the filesystem path to the directory of the rome.json configuration file
--verbose Print additional verbose advices on diagnostics
--indent-style <tabs|space> Change the indention character (default: tabs)
--indent-style <tab|space> Change the indention character (default: tab)
--indent-size <number> If the indentation style is set to spaces, determine how many spaces should be used for indentation (default: 2)
--line-width <number> Change how many characters the formatter is allowed to print in a single line (default: 80)
--quote-style <single|double> Changes the quotation character for strings (default: double)
Expand Down
Loading