summaryrefslogtreecommitdiff
path: root/usr.bin/top/display.c
diff options
context:
space:
mode:
authorJoel Sing <jsing@cvs.openbsd.org>2011-12-16 14:50:25 +0000
committerJoel Sing <jsing@cvs.openbsd.org>2011-12-16 14:50:25 +0000
commit87688caa16dbdaf8577f8429f88826056a564605 (patch)
treeed97cbbb465d5aa51623777ac7752157aad241a3 /usr.bin/top/display.c
parent5a91a7b1307e383b213458a3d5173747d7b11506 (diff)
Use H to make top show process threads, instead of the current T. This is
consistent with our ps(1) and top(1) on other operating systems. ok deraadt@ mikeb@ millert@
Diffstat (limited to 'usr.bin/top/display.c')
-rw-r--r--usr.bin/top/display.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/top/display.c b/usr.bin/top/display.c
index 200de0b9a95..30b358dd659 100644
--- a/usr.bin/top/display.c
+++ b/usr.bin/top/display.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: display.c,v 1.40 2010/04/23 09:26:13 otto Exp $ */
+/* $OpenBSD: display.c,v 1.41 2011/12/16 14:50:24 jsing Exp $ */
/*
* Top users/processes display for Unix
@@ -769,8 +769,9 @@ show_help(void)
"C - toggle the display of command line arguments\n"
"d count - show `count' displays, then exit\n"
"e - list errors generated by last \"kill\" or \"renice\" command\n"
- "h | ? - help; show this text\n"
"g string - filter on command name (g+ selects all commands)\n"
+ "h | ? - help; show this text\n"
+ "H - toggle the display of threads\n"
"I | i - toggle the display of idle processes\n"
"k [-sig] pid - send signal `-sig' to process `pid'\n"
"n|# count - show `count' processes\n"
@@ -781,7 +782,6 @@ show_help(void)
"r count pid - renice process `pid' to nice value `count'\n"
"S - toggle the display of system processes\n"
"s time - change delay between displays to `time' seconds\n"
- "T - toggle the display of threads\n"
"u user - display processes for `user' (u+ selects all users)\n"
"\n");