diff options
| author | John Baldwin <jhb@FreeBSD.org> | 2011-07-14 19:25:30 +0000 |
|---|---|---|
| committer | John Baldwin <jhb@FreeBSD.org> | 2011-07-14 19:25:30 +0000 |
| commit | 3bc794e16c8a0b6faa9b14500782d34be0dc00a9 (patch) | |
| tree | ee3ca134ea7caa78f1e4ad4d1213eb7d2732fb66 /contrib | |
| parent | 9b1b4e462816f981714cc030cdfdbb11fe79fee5 (diff) | |
Notes
Diffstat (limited to 'contrib')
| -rw-r--r-- | contrib/top/top.X | 7 | ||||
| -rw-r--r-- | contrib/top/top.c | 4 |
2 files changed, 8 insertions, 3 deletions
diff --git a/contrib/top/top.X b/contrib/top/top.X index 41c3d78bd67a..7c93a2e64277 100644 --- a/contrib/top/top.X +++ b/contrib/top/top.X @@ -200,11 +200,16 @@ a user to set his or her own defaults. The number of processes to display can also be specified in the environment variable .BR TOP . The options +.BR \-a , +.BR \-C , +.BR \-H , .BR \-I , +.BR \-j , .BR \-S , +.BR \-t , .BR \-u , and -.B \-t +.B \-z are actually toggles. A second specification of any of these options will negate the first. Thus a user who has the environment variable .B TOP diff --git a/contrib/top/top.c b/contrib/top/top.c index 6673a2768846..33185947a4d4 100644 --- a/contrib/top/top.c +++ b/contrib/top/top.c @@ -1019,7 +1019,7 @@ restart: case CMD_thrtog: ps.thread = !ps.thread; new_message(MT_standout | MT_delayed, - "Displaying threads %s", + " Displaying threads %s", ps.thread ? "separately" : "as a count"); header_text = format_header(uname_field); reset_display(); @@ -1028,7 +1028,7 @@ restart: case CMD_wcputog: ps.wcpu = !ps.wcpu; new_message(MT_standout | MT_delayed, - "Displaying %sCPU", + " Displaying %sCPU", ps.wcpu ? "W" : ""); header_text = format_header(uname_field); reset_display(); |
