diff options
author | pgen <p.gen.progs@gmail.com> | 2023-05-20 23:37:16 +0200 |
---|---|---|
committer | pgen <p.gen.progs@gmail.com> | 2023-05-20 23:43:48 +0200 |
commit | 91be7e9f234b45d6ee3bcfc3fa474695bf5aa6dc (patch) | |
tree | eaa1d6cc11625180689035db18152a861b1084f1 /smenu.1 | |
parent | 23fcabd4630eca89914d0003cf9f5af7949321d3 (diff) |
Start to improve the -D option description
Give some examples to help use this option.
Diffstat (limited to 'smenu.1')
-rw-r--r-- | smenu.1 | 22 |
1 files changed, 22 insertions, 0 deletions
@@ -1255,6 +1255,12 @@ format \fBx\fP:\fBy\fP where \fBx\fP can be: Here \fBy\fP is the \fBUTF-8\fP character (in native or \fI\\u\fP or \fI\\U\fP form) to print before the number. The default is a single space. + +Example: +.br +\f(CRecho test | smenu -N -D l:\\(\fP +.br +Will display: '\f(CB(1)\f(CR test\fR' . .TP \f(CBr\fP (\fB-F\fP|\fB-en\fP|\fB-embedded_number\fP, \ @@ -1262,6 +1268,12 @@ The default is a single space. Here \fBy\fP is the \fBUTF-8\fP character (in native or \fI\\u\fP or \fI\\U\fP form) to print after the number. The default is \f(CB)\fP. + +Example: +.br +\f(CRecho test | smenu -N -D r:\\>\fP +.br +Will display: ' \f(CB1>\f(CR test\fR' . .TP \f(CBa\fP (\fB-F\fP|\fB-en\fP|\fB-embedded_number\fP, \ @@ -1270,6 +1282,16 @@ Here \fBy\fP is '\f(CBleft\fP' (or one of its prefixes) if the number must be \fIleft\fP aligned, or '\f(CBright\fP' (or one of its prefixes) if it must be \fIright\fP aligned. The default is \f(CBright\fP. + +Example: +.br +\f(CRecho test | smenu -N -D a:right w:3\fP +.br +Will display: ' \f(CB1)\f(CR test\fR' + +\f(CRecho test | smenu -N -D a:left w:3\fP +.br +Will display: ' \f(CB1 )\f(CR test\fR' . .TP \f(CBp\fP (\fB-F\fP|\fB-en\fP|\fB-embedded_number\fP, \ |