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 <[email protected]>
This commit is contained in:
Bence Szépkúti
2025-12-18 20:20:25 +01:00
parent 074abc17d8
commit f9c2d65909
@@ -581,7 +581,8 @@ class AbiChecker:
def run_main(): def run_main():
try: try:
parser = argparse.ArgumentParser( parser = argparse.ArgumentParser(
description=__doc__ description=__doc__,
formatter_class=argparse.RawDescriptionHelpFormatter
) )
parser.add_argument( parser.add_argument(
"-v", "--verbose", action="store_true", "-v", "--verbose", action="store_true",