top(1): indicate how to reset grep string

Reviewed by: imp
Pull Request: https://github.com/freebsd/freebsd-src/pull/536/files
This commit is contained in:
John Grafton 2021-09-07 13:39:59 -04:00 committed by Warner Losh
parent 0e642632e6
commit 4ccbbe5f06

View File

@ -910,7 +910,7 @@ main(int argc, const char *argv[])
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') {