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>
This commit is contained in:
Bence Szépkúti
2025-12-11 20:34:38 +01:00
parent 074abc17d8
commit f9c2d65909
@@ -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",