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

🐛 rome ci --help prints unsupported options #3456

Closed
1 task done
MichaReiser opened this issue Oct 19, 2022 · 0 comments · Fixed by #3457
Closed
1 task done

🐛 rome ci --help prints unsupported options #3456

MichaReiser opened this issue Oct 19, 2022 · 0 comments · Fixed by #3457
Labels
A-CLI Area: CLI good first issue Good for newcomers hacktoberfest Issues for hacktoberfest I-Easy Implementation: easy task, usually a good fit for new contributors S-Bug: confirmed Status: report has been confirmed as a valid bug
Milestone

Comments

@MichaReiser
Copy link
Contributor

Environment information

Rome CLI v0.10.1-next

What happened?

Run rome ci --help

It reports the same options as for format


USAGE:
    rome ci [OPTIONS] <INPUTS...>

    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

OPTIONS:
    --write                                  Edit the files in place (beware!) instead of printing the diff to the console
    --skip-errors                            Skip over files containing syntax errors instead of emitting an error diagnostic.
    --indent-style <tabs|space>              Change the indention character (default: tabs)
    --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: ")
    --quote-properties <as-needed|preserve>  Changes when properties in object should be quoted (default: as-needed)
    --stdin-file-path <string>                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

But using any of the options fails.

Expected result

The help text of rome ci --help to not print the format options.

Code of Conduct

  • I agree to follow Rome's Code of Conduct
@MichaReiser MichaReiser added S-Bug: confirmed Status: report has been confirmed as a valid bug A-CLI Area: CLI labels Oct 19, 2022
@MichaReiser MichaReiser added this to the 10.0.0 milestone Oct 19, 2022
@MichaReiser MichaReiser changed the title 🐛 <TITLE> 🐛 rome ci --help prints unsupported options Oct 19, 2022
@MichaReiser MichaReiser added good first issue Good for newcomers I-Easy Implementation: easy task, usually a good fit for new contributors hacktoberfest Issues for hacktoberfest labels Oct 19, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A-CLI Area: CLI good first issue Good for newcomers hacktoberfest Issues for hacktoberfest I-Easy Implementation: easy task, usually a good fit for new contributors S-Bug: confirmed Status: report has been confirmed as a valid bug
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

1 participant