diff options
author | Denys Vlasenko | 2017-01-10 14:58:54 +0100 |
---|---|---|
committer | Denys Vlasenko | 2017-01-10 14:58:54 +0100 |
commit | f560422fa079b07a761a572ca4f9cf287c2cc47e (patch) | |
tree | 6962fe92683c37e561363eed6da8b60c09842196 /procps | |
parent | f10f7a21d40d5ce0846414973e88602a59d4580e (diff) | |
download | busybox-f560422fa079b07a761a572ca4f9cf287c2cc47e.zip busybox-f560422fa079b07a761a572ca4f9cf287c2cc47e.tar.gz |
Big cleanup in config help and description
Redundant help texts (one which only repeats the description)
are deleted.
Descriptions and help texts are trimmed.
Some config options are moved, even across menus.
No config option _names_ are changed.
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/Config.src | 2 | ||||
-rw-r--r-- | procps/pidof.c | 8 | ||||
-rw-r--r-- | procps/ps.c | 16 | ||||
-rw-r--r-- | procps/uptime.c | 4 |
4 files changed, 13 insertions, 17 deletions
diff --git a/procps/Config.src b/procps/Config.src index eb47607..35fef2e 100644 --- a/procps/Config.src +++ b/procps/Config.src @@ -8,7 +8,7 @@ menu "Process Utilities" INSERT config FEATURE_SHOW_THREADS - bool "Support for showing threads in ps/pstree/top" + bool "Support thread display in ps/pstree/top" default y depends on PS || TOP || PSTREE help diff --git a/procps/pidof.c b/procps/pidof.c index 069adb7..b64f0cb 100644 --- a/procps/pidof.c +++ b/procps/pidof.c @@ -14,18 +14,18 @@ //config: those id's on the standard output. //config: //config:config FEATURE_PIDOF_SINGLE -//config: bool "Enable argument for single shot (-s)" +//config: bool "Enable single shot (-s)" //config: default y //config: depends on PIDOF //config: help -//config: Support argument '-s' for returning only the first pid found. +//config: Support '-s' for returning only the first pid found. //config: //config:config FEATURE_PIDOF_OMIT -//config: bool "Enable argument for omitting pids (-o)" +//config: bool "Enable omitting pids (-o PID)" //config: default y //config: depends on PIDOF //config: help -//config: Support argument '-o' for omitting the given pids in output. +//config: Support '-o PID' for omitting the given pid(s) in output. //config: The special pid %PPID can be used to name the parent process //config: of the pidof, in other words the calling shell or shell script. diff --git a/procps/ps.c b/procps/ps.c index e291ecd..1d38059 100644 --- a/procps/ps.c +++ b/procps/ps.c @@ -32,19 +32,10 @@ //config: Adds fields PPID, RSS, START, TIME & TTY //config: //config:config FEATURE_PS_TIME -//config: bool "Enable time and elapsed time output" +//config: bool "Support -o time and -o etime output specifiers" //config: default y //config: depends on PS && DESKTOP //config: select PLATFORM_LINUX -//config: help -//config: Support -o time and -o etime output specifiers. -//config: -//config:config FEATURE_PS_ADDITIONAL_COLUMNS -//config: bool "Enable additional ps columns" -//config: default y -//config: depends on PS && DESKTOP -//config: help -//config: Support -o rgroup, -o ruser, -o nice output specifiers. //config: //config:config FEATURE_PS_UNUSUAL_SYSTEMS //config: bool "Support Linux prior to 2.4.0 and non-ELF systems" @@ -53,6 +44,11 @@ //config: help //config: Include support for measuring HZ on old kernels and non-ELF systems //config: (if you are on Linux 2.4.0+ and use ELF, you don't need this) +//config: +//config:config FEATURE_PS_ADDITIONAL_COLUMNS +//config: bool "Support -o rgroup, -o ruser, -o nice specifiers" +//config: default y +//config: depends on PS && DESKTOP //applet:IF_PS(APPLET(ps, BB_DIR_BIN, BB_SUID_DROP)) diff --git a/procps/uptime.c b/procps/uptime.c index 4361939..8e8956c 100644 --- a/procps/uptime.c +++ b/procps/uptime.c @@ -21,11 +21,11 @@ //config: on, and the system load averages for the past 1, 5, and 15 minutes. //config: //config:config FEATURE_UPTIME_UTMP_SUPPORT -//config: bool "Support for showing the number of users" +//config: bool "Show the number of users" //config: default y //config: depends on UPTIME && FEATURE_UTMP //config: help -//config: Makes uptime display the number of users currently logged on. +//config: Display the number of users currently logged on. //applet:IF_UPTIME(APPLET(uptime, BB_DIR_USR_BIN, BB_SUID_DROP)) |