summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2016-03-07 15:21:54 +0100
committerDenys Vlasenko2016-03-07 15:21:54 +0100
commitd2b820b540ada43dfef8751328c158e342387304 (patch)
tree15b74e42976012e9c6a3f6d639d22c3eeec2f6ff
parentea351b97428f7dc921d5431ccac366201754fcef (diff)
downloadbusybox-d2b820b540ada43dfef8751328c158e342387304.zip
busybox-d2b820b540ada43dfef8751328c158e342387304.tar.gz
renice: tweak help text
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--procps/renice.c13
1 files changed, 7 insertions, 6 deletions
diff --git a/procps/renice.c b/procps/renice.c
index 77f400a..2b690e0 100644
--- a/procps/renice.c
+++ b/procps/renice.c
@@ -20,13 +20,14 @@
*/
//usage:#define renice_trivial_usage
-//usage: "{{-n INCREMENT} | PRIORITY} [[-p | -g | -u] ID...]"
+//usage: "[-n] PRIORITY [[-p | -g | -u] ID...]..."
//usage:#define renice_full_usage "\n\n"
-//usage: "Change scheduling priority for a running process\n"
-//usage: "\n -n Adjust current nice value (smaller is faster)"
-//usage: "\n -p Process id(s) (default)"
-//usage: "\n -g Process group id(s)"
-//usage: "\n -u Process user name(s) and/or id(s)"
+//usage: "Change scheduling priority of a running process\n"
+//usage: "\n -n Add PRIORITY to current nice value"
+//usage: "\n Without -n, nice value is set to PRIORITY"
+//usage: "\n -p Process ids (default)"
+//usage: "\n -g Process group ids"
+//usage: "\n -u Process user names"
#include "libbb.h"
#include <sys/resource.h>