Skip to content

Commit 86545b4

Browse files
committed
Preserve the docstring's formatting in the description
The default formatter coalesces all whitespace and reflows the text. Signed-off-by: Bence Szépkúti <bence.szepkuti@arm.com>
1 parent db136d1 commit 86545b4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

scripts/mbedtls_framework/interface_checks.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -581,7 +581,8 @@ def check_for_abi_changes(self):
581581
def run_main():
582582
try:
583583
parser = argparse.ArgumentParser(
584-
description=__doc__
584+
description=__doc__,
585+
formatter_class=argparse.RawDescriptionHelpFormatter
585586
)
586587
parser.add_argument(
587588
"-v", "--verbose", action="store_true",

0 commit comments

Comments
 (0)