Skip to content

Commit 27436ec

Browse files
committed
improve help
Signed-off-by: Dave Rodgman <dave.rodgman@arm.com>
1 parent 2764bd5 commit 27436ec

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/bin/mtest

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -639,7 +639,7 @@ mtest -d mbedtls_xor -Os clang arm
639639

640640
REST_HELP = f'''Optional list of tests, compilers, flags, architectures, config options and build targets.
641641
Tests: e.g. test_suite_ccm ccm 'cipher*' '*aes*'
642-
Recognised compilers: {", ".join(ALL_COMPILERS)}
642+
Recognised compilers: {", ".join(ALL_COMPILERS)}, gcc-10, clang-12, ..., or specify with e.g. mtest CC=gcc
643643
Flags: anything starting with a '-' will get passed to CFLAGS if not recognised by mtest
644644
(e.g. -O0 gets passed through), or specify CFLAGS with e.g.: mtest CFLAGS="-Wunused"
645645
Architectures: {", ".join(ARM_ISAS)}, armv5, ..., armv8 or e.g. armv7-thumb2
@@ -656,7 +656,7 @@ Build targets: build the library by default, or files (e.g. aes.o), programs (e.
656656
parser.add_argument('-A', '--asan', action="store_true", default=False, help="make an ASAN build")
657657
parser.add_argument('-W', '--no-warnings', action="store_true", default=False, help="disable warnings")
658658
parser.add_argument('-C', '--no-clean', action="store_true", default=False, help="don't run make clean (if building for a single target)")
659-
parser.add_argument('-d', '--disassemble', metavar='function', action='append', nargs='?', help="disassemble specified function(s) (or everything if no function specified)")
659+
parser.add_argument('-d', '--disassemble', metavar='function', action='append', nargs='?', help="disassemble specified function(s) or file(s) (or everything if no function/file specified)")
660660
parser.add_argument('-s', '--size', action="store_true", default=False, help="display size of library / given build target")
661661
parser.add_argument('-S', '--size-tfm', action="store_true", default=False, help=f"as --size, but use the TF-M config file and build with {SIZE_TFM_COMPILER} -Oz for Cortex-M33")
662662
parser.add_argument('-j', '--jobs', nargs='?', const=-1, metavar='N', action="store", type=int, help="enable parallel builds, like 'make -j'. Alternatively, set the MAKEFLAGS environment variable")

0 commit comments

Comments
 (0)