From f9c2d659099339eb27e027be3fa5bc55151575f0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bence=20Sz=C3=A9pk=C3=BAti?= Date: Thu, 11 Dec 2025 20:34:38 +0100 Subject: [PATCH] Preserve the docstring's formatting in the description MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The default formatter coalesces all whitespace and reflows the text. Signed-off-by: Bence Szépkúti --- scripts/mbedtls_framework/interface_checks.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/mbedtls_framework/interface_checks.py b/scripts/mbedtls_framework/interface_checks.py index 4d67728c5..f602af8ae 100644 --- a/scripts/mbedtls_framework/interface_checks.py +++ b/scripts/mbedtls_framework/interface_checks.py @@ -581,7 +581,8 @@ class AbiChecker: def run_main(): try: parser = argparse.ArgumentParser( - description=__doc__ + description=__doc__, + formatter_class=argparse.RawDescriptionHelpFormatter ) parser.add_argument( "-v", "--verbose", action="store_true",