From cb963f2c127de2b804c37a9aedca5f78669efea5 Mon Sep 17 00:00:00 2001 From: Stijn de Gooijer Date: Tue, 16 Aug 2022 22:36:29 +0200 Subject: [PATCH] docs: Update CLI argument help text --- src/black/__init__.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/black/__init__.py b/src/black/__init__.py index b8a9d031896..c72d88ebf30 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -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(