From 7179ffad04c7ecffda3812591d161dc659346c3a Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Tue, 6 Feb 2007 06:53:14 +0000 Subject: Compact help screen a bit so it fits in 24 lines again. Based on a diff from Mark Lumsden. --- usr.bin/top/commands.c | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'usr.bin/top') 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" -- cgit v1.2.3