mirror of
https://github.com/astral-sh/ruff.git
synced 2025-09-27 12:29:28 +00:00
![]() Previously, without the 'wrap_help' feature enabled, Clap would not do any auto-wrapping of help text. For help text with long lines, this tends to lead to non-ideal formatting. It can be especially difficult to read when the width of the terminal is smaller. This commit enables 'wrap_help', which will automatically cause Clap to query the terminal size and wrap according to that. Or, if the terminal size cannot be determined, it will default to a maximum line width of 100. Ref https://github.com/astral-sh/ruff/pull/9599#discussion_r1464992692 |
||
---|---|---|
.. | ||
format_dev.rs | ||
generate_all.rs | ||
generate_cli_help.rs | ||
generate_docs.rs | ||
generate_json_schema.rs | ||
generate_options.rs | ||
generate_rules_table.rs | ||
main.rs | ||
print_ast.rs | ||
print_cst.rs | ||
print_tokens.rs | ||
round_trip.rs |