From cc2facaac69a8ffa4486e6fe498842debb17ce12 Mon Sep 17 00:00:00 2001 From: Olexiy Date: Wed, 8 Jul 2020 18:51:18 +0300 Subject: [PATCH] ISSUE 1533: Fix --config argument description (#1534) Change --config argument description to "Read configuration from FILE." The "--config FILE Read configuration from FILE path" --- README.md | 2 +- src/black/__init__.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index fc2d4de..33c170b 100644 --- a/README.md +++ b/README.md @@ -143,7 +143,7 @@ Options: --exclude=. --version Show the version and exit. - --config FILE Read configuration from PATH. + --config FILE Read configuration from FILE path. -h, --help Show this message and exit. ``` diff --git a/src/black/__init__.py b/src/black/__init__.py index d4c6e62..3d0a2d6 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -471,7 +471,7 @@ def target_version_option_callback( ), is_eager=True, callback=read_pyproject_toml, - help="Read configuration from PATH.", + help="Read configuration from FILE path.", ) @click.pass_context def main( -- 2.39.2