aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2016-12-03 12:09:50 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2016-12-03 12:09:50 +0100
commit718e4fd564fa99eb17281b6a23aef21652f23af5 (patch)
treeee9e6cbb22cd2c5a2a218b29e2626207499d7bc2
parentcf2600c3661c11491a838ef29733583afb6ad968 (diff)
downloadbusybox-w32-718e4fd564fa99eb17281b6a23aef21652f23af5.tar.gz
busybox-w32-718e4fd564fa99eb17281b6a23aef21652f23af5.tar.bz2
busybox-w32-718e4fd564fa99eb17281b6a23aef21652f23af5.zip
top: fix help text: with !TERMIOS, no keys are affected top output
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r--procps/top.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/procps/top.c b/procps/top.c
index c66cdb764..71207bac1 100644
--- a/procps/top.c
+++ b/procps/top.c
@@ -1042,7 +1042,9 @@ static unsigned handle_input(unsigned scan_mask, unsigned interval)
1042//usage: "Provide a view of process activity in real time." 1042//usage: "Provide a view of process activity in real time."
1043//usage: "\n""Read the status of all processes from /proc each SECONDS" 1043//usage: "\n""Read the status of all processes from /proc each SECONDS"
1044//usage: "\n""and display a screenful of them." 1044//usage: "\n""and display a screenful of them."
1045//usage: "\n""Keys:" 1045//usage: "\n"
1046//usage: IF_FEATURE_USE_TERMIOS(
1047//usage: "Keys:"
1046//usage: "\n"" N/M" 1048//usage: "\n"" N/M"
1047//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/P") 1049//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/P")
1048//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/T") 1050//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/T")
@@ -1062,6 +1064,7 @@ static unsigned handle_input(unsigned scan_mask, unsigned interval)
1062//usage: "\n"" Q,^C: exit" 1064//usage: "\n"" Q,^C: exit"
1063//usage: "\n" 1065//usage: "\n"
1064//usage: "\n""Options:" 1066//usage: "\n""Options:"
1067//usage: )
1065//usage: "\n"" -b Batch mode" 1068//usage: "\n"" -b Batch mode"
1066//usage: "\n"" -n N Exit after N iterations" 1069//usage: "\n"" -n N Exit after N iterations"
1067//usage: "\n"" -d N Delay between updates" 1070//usage: "\n"" -d N Delay between updates"