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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 <david.anes@xxxxxxxx>
Signed-off-by: Benno Schulenberg <bensberg@xxxxxxxxxx>
---
 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





[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux