rtld: Add -p switch to direct exec mode summary line.

Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2020-05-31 21:34:21 +00:00
parent 1f93e931d9
commit f393ade7c8
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=361672

View File

@ -5714,12 +5714,12 @@ static void
print_usage(const char *argv0)
{
rtld_printf("Usage: %s [-h] [-f <FD>] [--] <binary> [<args>]\n"
rtld_printf("Usage: %s [-h] [-f <FD>] [-p] [--] <binary> [<args>]\n"
"\n"
"Options:\n"
" -h Display this help message\n"
" -p Search in PATH for named binary\n"
" -f <FD> Execute <FD> instead of searching for <binary>\n"
" -p Search in PATH for named binary\n"
" -- End of RTLD options\n"
" <binary> Name of process to execute\n"
" <args> Arguments to the executed process\n", argv0);