mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-06-20 18:48:01 +00:00
Unify module documentation with --help text
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
This commit is contained in:
parent
f548a0ce80
commit
5635459284
|
@ -1,7 +1,5 @@
|
||||||
#!/usr/bin/env python3
|
#!/usr/bin/env python3
|
||||||
"""
|
"""
|
||||||
Purpose
|
|
||||||
|
|
||||||
This script compares the interfaces of two versions of Mbed TLS, looking
|
This script compares the interfaces of two versions of Mbed TLS, looking
|
||||||
for backward incompatibilities between two different Git revisions within
|
for backward incompatibilities between two different Git revisions within
|
||||||
an Mbed TLS repository. It must be run from the root of a Git working tree.
|
an Mbed TLS repository. It must be run from the root of a Git working tree.
|
||||||
|
@ -21,6 +19,8 @@ The results of the API/ABI comparison are either formatted as HTML and stored
|
||||||
at a configurable location, or are given as a brief list of problems.
|
at a configurable location, or are given as a brief list of problems.
|
||||||
Returns 0 on success, 1 on non-compliance, and 2 if there is an error
|
Returns 0 on success, 1 on non-compliance, and 2 if there is an error
|
||||||
while running the script.
|
while running the script.
|
||||||
|
|
||||||
|
You must run this test from an Mbed TLS root.
|
||||||
"""
|
"""
|
||||||
|
|
||||||
# Copyright The Mbed TLS Contributors
|
# Copyright The Mbed TLS Contributors
|
||||||
|
@ -490,17 +490,7 @@ class AbiChecker:
|
||||||
def run_main():
|
def run_main():
|
||||||
try:
|
try:
|
||||||
parser = argparse.ArgumentParser(
|
parser = argparse.ArgumentParser(
|
||||||
description=(
|
description=__doc__
|
||||||
"""This script is a small wrapper around the
|
|
||||||
abi-compliance-checker and abi-dumper tools, applying them
|
|
||||||
to compare the ABI and API of the library files from two
|
|
||||||
different Git revisions within an Mbed TLS repository.
|
|
||||||
The results of the comparison are either formatted as HTML and
|
|
||||||
stored at a configurable location, or are given as a brief list
|
|
||||||
of problems. Returns 0 on success, 1 on ABI/API non-compliance,
|
|
||||||
and 2 if there is an error while running the script.
|
|
||||||
Note: must be run from Mbed TLS root."""
|
|
||||||
)
|
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"-v", "--verbose", action="store_true",
|
"-v", "--verbose", action="store_true",
|
||||||
|
|
Loading…
Reference in a new issue