fix(rome_cli): remove unsupported options in the `ci` help text
MODIFY
crates/rome_cli/src/commands/help.rs
crates/rome_cli/src/commands/help.rs
@@ -41,15 +41,12 @@ const CHECK: Markup = markup! {
const FORMAT_OPTIONS: Markup = markup! {
"
- "<Dim>"--write"</Dim>" Edit the files in place (beware!) instead of printing the diff to the console
- "<Dim>"--skip-errors"</Dim>" Skip over files containing syntax errors instead of emitting an error diagnostic.
"<Dim>"--indent-style <tabs|space>"</Dim>" Change the indention character (default: tabs)
"<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: \")
"<Dim>"--quote-properties <as-needed|preserve>"</Dim>" Changes when properties in object should be quoted (default: as-needed)
"<Dim>"--trailing-comma <all|es5>"</Dim>" Changes trailing commas in multi-line comma-separated syntactic structures (default: all)
- "<Dim>"--stdin-file-path <string>"</Dim>" A file name with its extension to pass when reading from standard in, e.g. echo 'let a;' | rome format --stdin-file-path file.js
"
};
@@ -61,7 +58,7 @@ const CI: Markup = markup! {
INPUTS can be one or more filesystem path, each pointing to a single file or an entire directory to be searched recursively for supported files
-"<Emphasis>"OPTIONS:"</Emphasis>
+"<Emphasis>"OPTIONS:"</Emphasis>""
{FORMAT_OPTIONS}
};
@@ -73,8 +70,12 @@ const FORMAT: Markup = markup! {
INPUTS can be one or more filesystem path, each pointing to a single file or an entire directory to be searched recursively for supported files
-"<Emphasis>"OPTIONS:"</Emphasis>""
+"<Emphasis>"OPTIONS:"</Emphasis>"
+ "<Dim>"--write"</Dim>" Edit the files in place (beware!) instead of printing the diff to the console
+ "<Dim>"--skip-errors"</Dim>" Skip over files containing syntax errors instead of emitting an error diagnostic."
{FORMAT_OPTIONS}
+ ""<Dim>"--stdin-file-path <string>"</Dim>" A file name with its extension to pass when reading from standard in, e.g. echo 'let a;' | rome format --stdin-file-path file.js
+"
};
const INIT: Markup = markup! {

fix(rome_cli): remove unsupported options in the `ci` help text (#3457)