From: Benno Schulenberg Date: Thu, 17 Apr 2025 09:48:20 +0000 (+0200) Subject: renice: in usage text, condense the oververbose description of option -n X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4b0a1834667ad7598d647cd369925eb0822a7609;p=thirdparty%2Futil-linux.git renice: in usage text, condense the oververbose description of option -n 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 Signed-off-by: Benno Schulenberg --- diff --git a/sys-utils/renice.c b/sys-utils/renice.c index eac104db3..d2139a6bf 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 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 specify the 'absolute' nice value,\n" + " but 'relative' when POSIXLY_CORRECT is set\n"), out); fputs(_(" --priority specify the 'absolute' nice value\n"), out); fputs(_(" --relative specify the 'relative' nice value\n"), out); fputs(_(" -p, --pid interpret arguments as process ID (default)\n"), out);