← Commit list

718e4fd56

Denys Vlasenko
Denys Vlasenko
2016-12-03
SUCCESS Duration: 196s

Subject

top: fix help text: with !TERMIOS, no keys are affected top output

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

procps/top.c+4 -1
@@ -1042,7 +1042,9 @@ static unsigned handle_input(unsigned scan_mask, unsigned interval)
//usage: "Provide a view of process activity in real time."
//usage: "\n""Read the status of all processes from /proc each SECONDS"
//usage: "\n""and display a screenful of them."
-//usage: "\n""Keys:"
+//usage: "\n"
+//usage: IF_FEATURE_USE_TERMIOS(
+//usage: "Keys:"
//usage: "\n"" N/M"
//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/P")
//usage: IF_FEATURE_TOP_CPU_USAGE_PERCENTAGE("/T")
@@ -1062,6 +1064,7 @@ static unsigned handle_input(unsigned scan_mask, unsigned interval)
//usage: "\n"" Q,^C: exit"
//usage: "\n"
//usage: "\n""Options:"
+//usage: )
//usage: "\n"" -b Batch mode"
//usage: "\n"" -n N Exit after N iterations"
//usage: "\n"" -d N Delay between updates"