summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2018-08-02 01:07:31 +0200
committerpgen <p.gen.progs@gmail.com>2018-08-02 01:07:31 +0200
commitc7e38f5559e9378f4d991dfd32a2f173f7618fc2 (patch)
treee050a1a8f81a46226c448cdb28567eb796283b81 /smenu.1
parente801fc30d0b4a58a1737305a54a8036dbfb69a36 (diff)
Add the s sub-options to the -D option
This sub-option (start) allows to set the start of the automatic number sequence used by the direct access mechanism. By default this start number is set to 1.
Diffstat (limited to 'smenu.1')
-rw-r--r--smenu.18
1 files changed, 7 insertions, 1 deletions
diff --git a/smenu.1 b/smenu.1
index 443cb23..0f5da71 100644
--- a/smenu.1
+++ b/smenu.1
@@ -34,7 +34,7 @@ and outputs the selection to stdout.
<row selectors> ::= \fIcol1\fP[-\fIcol2\fP],...|\fI<RE>\fP,...
<sub-option> ::= [l|r:<char>]|[a:left|right]|[p:included|all|
[w:<num>]|[f:yes|no]|[o:<num>]|[n:<num>]|
- [i:<num>][d:<char>]
+ [i:<num>]|[d:<char>]|[s:<num>]
<ATTR> ::= [fg][/bg][,style]
<RE> ::= \fB<char>\fIregex\fB<char>\fR
@@ -875,6 +875,12 @@ Only the numbered word(s) will be prefixed.
This directive can be useful when you want to post-process the output
according to its direct access number.
+.
+.TP
+\f(CBs\fP (\fB-F\fP, \fB-N\fP and \fB-U\fP options)
+Here \fBy\fP is the direct access number that will be set for the first
+numbered word. Its value is \fB1\fP by default, a value of \fB0\fP
+is possible.
.P
Example: \f(CWr:\\> l:\\< a:l d:_ \fP