git: 1f7da3e8965d - stable/12 - top(1): indicate how to reset grep string

Warner Losh imp at FreeBSD.org
Mon Sep 13 01:13:17 UTC 2021


The branch stable/12 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=1f7da3e8965d357698e766806499b14ce01415d8

commit 1f7da3e8965d357698e766806499b14ce01415d8
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-13 01:08:08 +0000

    top(1): indicate how to reset grep string
    
    Reviewed by: imp
    Pull Request: https://github.com/freebsd/freebsd-src/pull/536/files
    
    (cherry picked from commit 4ccbbe5f0689513de4399d6dad43e85d97ad9cde)
---
 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 deba4d8e1ef3..4b624aacb6b0 100644
--- a/usr.bin/top/top.c
+++ b/usr.bin/top/top.c
@@ -901,7 +901,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-branches mailing list