From ae56983a5f36d69e2a8cfa762f255a800039b0df Mon Sep 17 00:00:00 2001 From: Richard Si <63936253+ichard26@users.noreply.github.com> Date: Thu, 8 Jul 2021 21:46:32 -0400 Subject: [PATCH] Avoid src being marked as optional in help (#2356) --- src/black/__init__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/src/black/__init__.py b/src/black/__init__.py index 8e2123d..51384fb 100644 --- a/src/black/__init__.py +++ b/src/black/__init__.py @@ -328,6 +328,7 @@ def validate_regex( exists=True, file_okay=True, dir_okay=True, readable=True, allow_dash=True ), is_eager=True, + metavar="SRC ...", ) @click.option( "--config", -- 2.39.2