Skip to content

Commit

Permalink
Update CLI argument help text
Browse files Browse the repository at this point in the history
  • Loading branch information
stinodego committed Aug 16, 2022
1 parent cf2c2e4 commit 4c332eb
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/black/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -229,8 +229,10 @@ def validate_regex(
callback=target_version_option_callback,
multiple=True,
help=(
"Python versions that should be supported by Black's output. [default: per-file"
" auto-detection]"
"Minimum Python version that should be supported by Black's output. By default,"
" Black will try to infer this from the project metadata in pyproject.toml. If"
" this does not yield conclusive results, Black will use per-file"
" auto-detection."
),
)
@click.option(
Expand Down

0 comments on commit 4c332eb

Please sign in to comment.