mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-24 05:50:14 +00:00
testrun.sh: Improve --help message
The testrun.sh --help message was missing the "container" option. Besides just adding the missing option I decide to rewrite it in the same layout as other tools. Reviewed-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
parent
7de36744ee
commit
709e3709a0
9
Makefile
9
Makefile
@ -144,8 +144,13 @@ builddir=`dirname "$$0"`
|
||||
GCONV_PATH="$${builddir}/iconvdata"
|
||||
|
||||
usage () {
|
||||
echo "usage: $$0 [--tool=strace] PROGRAM [ARGUMENTS...]" 2>&1
|
||||
echo " $$0 --tool=valgrind PROGRAM [ARGUMENTS...]" 2>&1
|
||||
cat << EOF
|
||||
Usage: $$0 [OPTIONS] <program> [ARGUMENTS...]
|
||||
|
||||
--tool=TOOL Run with the specified TOOL. It can be strace, valgrind or
|
||||
container. The container will run within support/test-container.
|
||||
EOF
|
||||
|
||||
exit 1
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user