svn commit: r361672 - head/libexec/rtld-elf

Konstantin Belousov kib at FreeBSD.org
Sun May 31 21:34:22 UTC 2020


Author: kib
Date: Sun May 31 21:34:21 2020
New Revision: 361672
URL: https://svnweb.freebsd.org/changeset/base/361672

Log:
  rtld: Add -p switch to direct exec mode summary line.
  
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/libexec/rtld-elf/rtld.c

Modified: head/libexec/rtld-elf/rtld.c
==============================================================================
--- head/libexec/rtld-elf/rtld.c	Sun May 31 20:59:11 2020	(r361671)
+++ head/libexec/rtld-elf/rtld.c	Sun May 31 21:34:21 2020	(r361672)
@@ -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);


More information about the svn-src-all mailing list