Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 31 May 2020 21:34:21 +0000 (UTC)
From:      Konstantin Belousov <kib@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r361672 - head/libexec/rtld-elf
Message-ID:  <202005312134.04VLYLEO002874@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005312134.04VLYLEO002874>