top: tweak --help
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
87e216294a
commit
4a6748662a
@ -5,18 +5,7 @@
|
|||||||
*
|
*
|
||||||
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
* Licensed under GPLv2 or later, see file LICENSE in this source tree.
|
||||||
*/
|
*/
|
||||||
/* Usage: stty [-ag] [-F device] [setting...]
|
/* David MacKenzie <djm@gnu.ai.mit.edu>
|
||||||
*
|
|
||||||
* Options:
|
|
||||||
* -a Write all current settings to stdout in human-readable form.
|
|
||||||
* -g Write all current settings to stdout in stty-readable form.
|
|
||||||
* -F Open and use the specified device instead of stdin
|
|
||||||
*
|
|
||||||
* If no args are given, write to stdout the baud rate and settings that
|
|
||||||
* have been changed from their defaults. Mode reading and changes
|
|
||||||
* are done on the specified device, or stdin if none was specified.
|
|
||||||
*
|
|
||||||
* David MacKenzie <djm@gnu.ai.mit.edu>
|
|
||||||
*
|
*
|
||||||
* Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001
|
* Special for busybox ported by Vladimir Oleynik <dzo@simtreas.ru> 2001
|
||||||
*/
|
*/
|
||||||
@ -40,6 +29,11 @@
|
|||||||
//usage: "\n -g Print in stty-readable form"
|
//usage: "\n -g Print in stty-readable form"
|
||||||
//usage: "\n [SETTING] See manpage"
|
//usage: "\n [SETTING] See manpage"
|
||||||
|
|
||||||
|
/* If no args are given, write to stdout the baud rate and settings that
|
||||||
|
* have been changed from their defaults. Mode reading and changes
|
||||||
|
* are done on the specified device, or stdin if none was specified.
|
||||||
|
*/
|
||||||
|
|
||||||
#include "libbb.h"
|
#include "libbb.h"
|
||||||
#include "common_bufsiz.h"
|
#include "common_bufsiz.h"
|
||||||
|
|
||||||
|
@ -1043,7 +1043,7 @@ static unsigned handle_input(unsigned scan_mask, duration_t interval)
|
|||||||
//usage:# define IF_SHOW_THREADS_OR_TOP_SMP(...)
|
//usage:# define IF_SHOW_THREADS_OR_TOP_SMP(...)
|
||||||
//usage:#endif
|
//usage:#endif
|
||||||
//usage:#define top_trivial_usage
|
//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:#define top_full_usage "\n\n"
|
||||||
//usage: "Provide a view of process activity in real time."
|
//usage: "Provide a view of process activity in real time."
|
||||||
//usage: "\n""Read the status of all processes from /proc each SECONDS"
|
//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: IF_FEATURE_TOP_SMP_CPU("1: toggle SMP")
|
||||||
//usage: )
|
//usage: )
|
||||||
//usage: "\n"" Q,^C: exit"
|
//usage: "\n"" Q,^C: exit"
|
||||||
//usage: "\n"
|
|
||||||
//usage: "\n""Options:"
|
//usage: "\n""Options:"
|
||||||
//usage: )
|
//usage: )
|
||||||
//usage: "\n"" -b Batch mode"
|
//usage: "\n"" -b Batch mode"
|
||||||
//usage: "\n"" -n N Exit after N iterations"
|
//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: IF_FEATURE_TOPMEM(
|
||||||
//usage: "\n"" -m Same as 's' key"
|
//usage: "\n"" -m Same as 's' key"
|
||||||
//usage: )
|
//usage: )
|
||||||
|
Loading…
Reference in New Issue
Block a user