git: 4ccbbe5f0689 - main - top(1): indicate how to reset grep string

Warner Losh imp at FreeBSD.org
Wed Sep 8 03:01:25 UTC 2021


The branch main has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=4ccbbe5f0689513de4399d6dad43e85d97ad9cde

commit 4ccbbe5f0689513de4399d6dad43e85d97ad9cde
Author:     John Grafton <john.grafton at gmail.com>
AuthorDate: 2021-09-07 17:39:59 +0000
Commit:     Warner Losh <imp at FreeBSD.org>
CommitDate: 2021-09-08 02:56:45 +0000

    top(1): indicate how to reset grep string
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/536/files
---
 usr.bin/top/top.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/top/top.c b/usr.bin/top/top.c
index 4fbf11b50299..08248911e99a 100644
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -910,7 +910,7 @@ restart:
 
 			    case CMD_grep: /* grep command name */
 				new_message(MT_standout,
-				    "Grep command name: ");
+				    "Grep command name (+ for all): ");
 				if (readline(tempbuf1, sizeof(tempbuf1), false) > 0) {
 					free(ps.command);
 					if (tempbuf1[0] == '+' && tempbuf1[1] == '\0') {


More information about the dev-commits-src-all mailing list