Commit 4eec20aa4d575af46bdd2d4e6a0876872c309fc4

Stefan Sperling 2019-06-22T20:54:15

document tog tree search

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
diff --git a/tog/tog.1 b/tog/tog.1
index 2263349..5f0b98d 100644
--- a/tog/tog.1
+++ b/tog/tog.1
@@ -237,6 +237,16 @@ Move back to the parent directory.
 Show object IDs for all objects displayed in the
 .Cm tree
 view.
+.It Cm /
+Prompt for a search pattern and start searching for matching tree entries.
+The search pattern is an extended regular expression which is matched
+against the tree entry's name.
+Regular expression syntax is documented in
+.Xr re_format 7 .
+.It Cm n
+Find the next tree entry which matches the current search pattern.
+.It Cm N
+Find the previous tree entry which matches the current search pattern.
 .El
 .Pp
 The options for