From 45afd73974ef9c558f753d3a55e2997610b9827a Mon Sep 17 00:00:00 2001 From: Raphael Krupinski Date: Wed, 3 Jul 2024 14:56:52 +0200 Subject: [PATCH] Fix help message for --no-namespace-packages. (#17472) Fixes #17466 Change help message of '--no-namespace-packages' option Co-authored-by: Raphael Krupinski <10319569-mattesilver@users.noreply.gitlab.com> --- mypy/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mypy/main.py b/mypy/main.py index 489ef8fd9a7b..05044335ecee 100644 --- a/mypy/main.py +++ b/mypy/main.py @@ -565,7 +565,7 @@ def add_invertible_flag( "--no-namespace-packages", dest="namespace_packages", default=True, - help="Support namespace packages (PEP 420, __init__.py-less)", + help="Disable support for namespace packages (PEP 420, __init__.py-less)", group=imports_group, ) imports_group.add_argument(