From 0686e79da0e177bfb2c112ff671691bec647b396 Mon Sep 17 00:00:00 2001 From: pgen Date: Thu, 1 Apr 2021 00:19:07 +0200 Subject: Fix the description of the -s option in the manual Document the "=..." pattern. --- smenu.1 | 13 ++++++++----- 1 file 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 -- cgit v1.2.3