Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stop highlighting --help output in README as shell #1655

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.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -312,7 +312,7 @@ ruff path/to/code/ --select F401 --select F403
See `ruff --help` for more:

<!-- Begin auto-generated cli help. -->
```shell
```
Ruff: An extremely fast Python linter.

Usage: ruff [OPTIONS] [FILES]...
Expand Down
2 changes: 1 addition & 1 deletion ruff_dev/src/generate_cli_help.rs
Expand Up @@ -28,7 +28,7 @@ pub fn main(cli: &Cli) -> Result<()> {
print!("{output}");
} else {
replace_readme_section(
&format!("```shell\n{output}\n```\n"),
&format!("```\n{output}\n```\n"),
HELP_BEGIN_PRAGMA,
HELP_END_PRAGMA,
)?;
Expand Down