From 5b887ce953876df9fc2c3fb6ed82512239e77eb7 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 ded4a736822..449865076c9 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -218,8 +218,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(