[PATCH 06/10] renice: in usage text, condense the oververbose description of option -n

Benno Schulenberg <[email protected]>
Newsgroups org.kernel.vger.util-linux
Message-ID <[email protected]>
The --help text should be concise: it serves only as a reminder of how
things work.  When a more wordy explanation is needed, there is always
the man page (as every --help text says at the end).

CC: David Anes <[email protected]>
Signed-off-by: Benno Schulenberg <[email protected]>
---
 sys-utils/renice.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/sys-utils/renice.c b/sys-utils/renice.c
index eac104db3..7872e8fbb 100644
--- a/sys-utils/renice.c
+++ b/sys-utils/renice.c
@@ -70,10 +70,8 @@ static void __attribute__((__noreturn__)) usage(void)
 	fputs(_("Alter the priority of running processes.\n"), out);
 
 	fputs(USAGE_OPTIONS, out);
-	fputs(_(" -n <num>               specify the nice value;\n"
-		"                          if POSIXLY_CORRECT flag is set in environment,\n"
-		"                          then the priority is 'relative' to current\n"
-		"                          process priority; otherwise it is 'absolute'\n"), out);
+	fputs(_(" -n <num>               specify the 'absolute' nice value,\n"
+		"                          but 'relative' when POSIXLY_CORRECT is set\n"), out);
 	fputs(_(" --priority <num>       specify the 'absolute' nice value\n"), out);
 	fputs(_(" --relative <num>       specify the 'relative' nice value\n"), out);
 	fputs(_(" -p, --pid              interpret arguments as process ID (default)\n"), out);
-- 
2.48.1
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.