summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2021-04-01 00:19:07 +0200
committerpgen <p.gen.progs@gmail.com>2021-04-01 00:21:22 +0200
commit0686e79da0e177bfb2c112ff671691bec647b396 (patch)
treefa73f0281b0fcd8d3f1fc3e2a00310f683e3022b
parentab186c42b3f767c19ba2d149def1de8270cfb3c6 (diff)
Fix the description of the -s option in the manual
Document the "=..." pattern.
-rw-r--r--smenu.113
1 files changed, 8 insertions, 5 deletions
diff --git a/smenu.1 b/smenu.1
index 535bd72..4fee109 100644
--- a/smenu.1
+++ b/smenu.1
@@ -1484,16 +1484,19 @@ excluded word is selected if it exists, otherwise the first non excluded
word is selected.
If this number if greater than the number of words, the cursor will be
-set on the latest selectable position.
+placed on the latest selectable position.
.IP * 2
A single \fB#\fP or the string \fB#last\fP to set the initial
-cursor position to the latest selectable word position.
+cursor position on the latest selectable word position.
.IP * 2
A string starting with a \fB/\fP indicating that we want the cursor
-to be set to the first word matching the given regular expression.
+to be placed on the first word matching the given regular expression.
.IP * 2
-A \fBprefix\fP string indicating that we want the cursor to be set on the
-first word matching the string given (\fBa\fP will match \fBCancel\fP
+A string starting with a \fB=\fP indicating than we want the cursor
+to be placed on that exact word.
+.IP * 2
+A normal string. In this case the cursor will be placed on the
+first word starting with that string (\fBCa\fP will match \fBCancel\fP
by example).
.PP
Warning, when searching for a prefix or a regular expression, smenu