summary refs log tree commit diff
path: root/bin/man1
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-06-02 22:22:58 -0400
committerJune McEnroe <june@causal.agency>2022-06-02 22:40:41 -0400
commit3e6c29a0d0e43587289e46f38f2a2e18dc5778e4 (patch)
tree1a5504af8556547b2ef8e9695a55764165a7505b /bin/man1
parentClean up parsing a little (diff)
downloadsrc-3e6c29a0d0e43587289e46f38f2a2e18dc5778e4.tar.gz
src-3e6c29a0d0e43587289e46f38f2a2e18dc5778e4.zip
Do basic match highlighting
Diffstat (limited to '')
-rw-r--r--bin/man1/qf.117
1 files changed, 16 insertions, 1 deletions
diff --git a/bin/man1/qf.1 b/bin/man1/qf.1
index 06676087..8828d723 100644
--- a/bin/man1/qf.1
+++ b/bin/man1/qf.1
@@ -7,7 +7,7 @@
 .Nd grep pager
 .
 .Sh SYNOPSIS
-.Nm
+.Nm Op Ar pattern
 .
 .Sh DESCRIPTION
 .Nm
@@ -31,6 +31,19 @@ It otherwise operates similar to
 .Xr less 1 .
 .
 .Pp
+If
+.Ar pattern
+is given,
+the first match on each line
+will be highlighted.
+The
+.Ar pattern
+is interpreted as
+an extended regular expression
+and is matched case-insensitively
+unless it contains an uppercase letter.
+.
+.Pp
 The keys are as follows:
 .Bl -tag -width Ds
 .It Ic Enter
@@ -49,6 +62,8 @@ Move to next or previous line.
 Jump to next or previous match line.
 .It Ic q
 Exit.
+.It Ic r
+Refresh the display.
 .El
 .
 .Sh EXAMPLES