summaryrefslogtreecommitdiffstats
path: root/smenu.1
diff options
context:
space:
mode:
authorpgen <p.gen.progs@gmail.com>2015-08-20 23:22:26 +0200
committerpgen <p.gen.progs@gmail.com>2015-09-05 21:27:03 +0200
commit24085d40ea070b9c581901d60959fde706f0e3f0 (patch)
tree136fd4a40549a07330a0b2a8a92c0eb5e65a1cad /smenu.1
parentad77f045f8ae0152fda9d4fcb7713af5f1b32f4f (diff)
Correct and improve the help message (-h) and the man page (-V)
Diffstat (limited to 'smenu.1')
-rw-r--r--smenu.16
1 files changed, 4 insertions, 2 deletions
diff --git a/smenu.1 b/smenu.1
index 3b6968a..af4e579 100644
--- a/smenu.1
+++ b/smenu.1
@@ -1,11 +1,11 @@
-.TH smenu 1 "May 2015" "Version beta"
+.TH smenu 1 "2015" "beta"
.SH NAME
smenu - filter that allows to interactively select a word from stdin
and outputs the selection to stdout.
.SH SYNOPSIS
smenu [\fB-h\fP] [\fB-n\fP \fIlines\fP] [\fB-t\fP [\fIcols\fP]]
[\fB-s\fP \fIpattern\fP] [\fB-m\fP \fImessage\fP] [\fB-w\fP] [\fB-d\fP]
-[\fB-c\fP] [\fB-e\fP] [\fB-b\fP] [\fB-g\fP] [\fB-q\fP]
+[\fB-c\fP] [\fB-e\fP] [\fB-b\fP] [\fB-g\fP] [\fB-q\fP] [\fB-V\fP]
.SH DESCRIPTION
This small utility acts as a filter (read from stdin and write to
stdout). All the words taken from stdin are presented in a scrolling
@@ -239,6 +239,8 @@ Prevents the scroll bar display. Useful when all the input words can be
displayed without the need of scrolling. by default the scroll bar is
always displayed when there is more than one line. An absence of cursor
in it gives a visual indication that all the input words are there.
+.IP \fB-V\fP
+Displays the current version and quits.
.SH NOTES
If tabulations (\fI\\t\fP) are embedded in the input, there is no way
to replace them with the original number of spaces. In this case use