From f393ade7c8b63eb94738f8aef636ad9daaeafdef Mon Sep 17 00:00:00 2001 From: Konstantin Belousov Date: Sun, 31 May 2020 21:34:21 +0000 Subject: [PATCH] rtld: Add -p switch to direct exec mode summary line. Sponsored by: The FreeBSD Foundation MFC after: 1 week --- libexec/rtld-elf/rtld.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libexec/rtld-elf/rtld.c b/libexec/rtld-elf/rtld.c index 0b615cd1713a..13812cf6fba0 100644 --- a/libexec/rtld-elf/rtld.c +++ b/libexec/rtld-elf/rtld.c @@ -5714,12 +5714,12 @@ static void print_usage(const char *argv0) { - rtld_printf("Usage: %s [-h] [-f ] [--] []\n" + rtld_printf("Usage: %s [-h] [-f ] [-p] [--] []\n" "\n" "Options:\n" " -h Display this help message\n" - " -p Search in PATH for named binary\n" " -f Execute instead of searching for \n" + " -p Search in PATH for named binary\n" " -- End of RTLD options\n" " Name of process to execute\n" " Arguments to the executed process\n", argv0);