diff options
author | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-06 06:53:14 +0000 |
---|---|---|
committer | Otto Moerbeek <otto@cvs.openbsd.org> | 2007-02-06 06:53:14 +0000 |
commit | 7179ffad04c7ecffda3812591d161dc659346c3a (patch) | |
tree | 70d7189000c721811167b4e9f5fbeb920e69ae83 /usr.bin/top | |
parent | c054b47f2ee1a35cf5dc1673b75282d8e144635a (diff) |
Compact help screen a bit so it fits in 24 lines again. Based on a
diff from Mark Lumsden.
Diffstat (limited to 'usr.bin/top')
-rw-r--r-- | usr.bin/top/commands.c | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/usr.bin/top/commands.c b/usr.bin/top/commands.c index 6ea9ba55f2d..f6947389512 100644 --- a/usr.bin/top/commands.c +++ b/usr.bin/top/commands.c @@ -1,4 +1,4 @@ -/* $OpenBSD: commands.c,v 1.22 2007/02/04 19:17:14 otto Exp $ */ +/* $OpenBSD: commands.c,v 1.23 2007/02/06 06:53:13 otto Exp $ */ /* * Top users/processes display for Unix @@ -68,10 +68,7 @@ void show_help(void) { printf("Top version %s, %s\n", version_string(), copyright); - puts("\n\n" - "A top users display for Unix\n" - "\n" - "These single-character commands are available:\n" + puts("These single-character commands are available:\n" "\n" "^L - redraw screen\n" "h or ? - help; show this text\n" @@ -89,8 +86,7 @@ show_help(void) "d - change number of displays to show\n" "e - list errors generated by last \"kill\" or \"renice\" command\n" "g - filter on command name (+ selects all commands)\n" - "i - toggle the displaying of idle processes\n" - "I - same as 'i'\n" + "i or I - toggle the displaying of idle processes\n" "k - kill processes; send a signal to a list of processes\n" "n or # - change number of processes to display\n" "o - specify sort order (size, res, cpu, time, pri)\n" |