diff options
author | Denys Vlasenko | 2019-02-27 16:45:39 +0100 |
---|---|---|
committer | Denys Vlasenko | 2019-02-27 16:45:39 +0100 |
commit | 4a6748662aaaf20161e6e81961775b3a4b599e46 (patch) | |
tree | 9da698e9d610ed666069dd712b93dfff57b7c574 /procps | |
parent | 87e216294af9eec39c0c1d553555f8a98c15db38 (diff) | |
download | busybox-4a6748662aaaf20161e6e81961775b3a4b599e46.zip busybox-4a6748662aaaf20161e6e81961775b3a4b599e46.tar.gz |
top: tweak --help
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'procps')
-rw-r--r-- | procps/top.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/procps/top.c b/procps/top.c index 3db0770..6254097 100644 --- a/procps/top.c +++ b/procps/top.c @@ -1043,7 +1043,7 @@ static unsigned handle_input(unsigned scan_mask, duration_t interval) //usage:# define IF_SHOW_THREADS_OR_TOP_SMP(...) //usage:#endif //usage:#define top_trivial_usage -//usage: "[-b] [-nCOUNT] [-dSECONDS]" IF_FEATURE_TOPMEM(" [-m]") +//usage: "[-b"IF_FEATURE_TOPMEM("m")"] [-n COUNT] [-d SECONDS]" //usage:#define top_full_usage "\n\n" //usage: "Provide a view of process activity in real time." //usage: "\n""Read the status of all processes from /proc each SECONDS" @@ -1068,12 +1068,11 @@ static unsigned handle_input(unsigned scan_mask, duration_t interval) //usage: IF_FEATURE_TOP_SMP_CPU("1: toggle SMP") //usage: ) //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" +//usage: "\n"" -d SEC Delay between updates" //usage: IF_FEATURE_TOPMEM( //usage: "\n"" -m Same as 's' key" //usage: ) |