git: 3e3f48e6c4f0 - stable/13 - top(1): indicate how to reset grep string

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


The branch stable/13 has been updated by imp:

URL: https://cgit.FreeBSD.org/src/commit/?id=3e3f48e6c4f0e5d9e5047d1fb9b94babbe6ad68b

commit 3e3f48e6c4f0e5d9e5047d1fb9b94babbe6ad68b
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:12:01 +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 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-branches mailing list