Commit Diff


commit - 991c5d3c1b9228594689b8919c3b089d858ee47c
commit + 0dee1b65826311cdc66b57372b4acc9710cc5f9b
blob - 7612cf5d3d3998b39dc2ad73d2dbc6974fb312fe
blob + 5d14b0a57ed0515365cce4b03eb7822f651b40a1
--- mymenu.1
+++ mymenu.1
@@ -7,7 +7,7 @@
 .Sh SYNOPSIS
 .Nm
 .Bk -words
-.Op Fl hvaA
+.Op Fl Aamvh
 .Op Fl p Ar prompt
 .Op Fl x Ar coord
 .Op Fl y Ar coord
@@ -24,7 +24,7 @@
 .Op Fl C Ar color
 .Op Fl s Ar color
 .Op Fl S Ar color
-.Op Fl w Ar window
+.Op Fl e Ar window
 .Op Fl d Ar separator
 .Ek
 .Sh DESCRIPTION
@@ -49,6 +49,10 @@ The first completion (if any) is always selected. This
 .It Fl A
 The user must chose one of the option (or none) and is not able to
 arbitrary enter text
+.It Fl m
+The user can select multiple entry via C-m. Please consult
+.Sx KEYS
+for more info.
 .It Fl p Ar prompt
 Override the prompt
 .It Fl x Ar val
@@ -178,7 +182,7 @@ The same as Esc
 .It Enter
 Close the menu and print to stdout what the user typed
 .It C-m
-The same as Enter
+Confirm but keep looping (if enabled), otherwise complete only
 .It Tab
 Expand the prompt to the next possible completion
 .It Shift Tab
@@ -238,7 +242,7 @@ fi
 .Sh AUTHORS
 .An Omar Polo <omar.polo@europecom.net>
 
-.Sh BUGS
+.Sh CAVEATS
 .Bl -bullet
 .It
 If, instead of a numeric value, a not-valid number that terminates
blob - 6f169f18f8edde24ddcd507f07917ffe99636c60
blob + 07a7a5591b95688a662d300f3019b6f7d42081d2
--- mymenu.1.md
+++ mymenu.1.md
@@ -7,7 +7,7 @@ MYMENU(1) - General Commands Manual
 # SYNOPSIS
 
 **mymenu**
-\[**-hvaA**]
+\[**-Aamvh**]
 \[**-p**&nbsp;*prompt*]
 \[**-x**&nbsp;*coord*]
 \[**-y**&nbsp;*coord*]
@@ -24,7 +24,7 @@ MYMENU(1) - General Commands Manual
 \[**-C**&nbsp;*color*]
 \[**-s**&nbsp;*color*]
 \[**-S**&nbsp;*color*]
-\[**-w**&nbsp;*window*]
+\[**-e**&nbsp;*window*]
 \[**-d**&nbsp;*separator*]
 
 # DESCRIPTION
@@ -58,6 +58,12 @@ over the (respective) ones defined in the
 > The user must chose one of the option (or none) and is not able to
 > arbitrary enter text
 
+**-m**
+
+> The user can select multiple entry via C-m. Please consult
+> *KEYS*
+> for more info.
+
 **-p** *prompt*
 
 > Override the prompt
@@ -132,9 +138,8 @@ over the (respective) ones defined in the
 
 **-d** *sep*
 
-> Show to the user only the text after the specified separator. If a
-> line does not contain the given separator, the whole line will be
-> showed to the user.
+> Optionally show only the text after the given separator. Defaults
+> to the whole line if the separator is not present.
 
 # RESOURCES
 
@@ -265,7 +270,7 @@ Enter
 
 C-m
 
-> The same as Enter
+> Confirm but keep looping (if enabled), otherwise complete only
 
 Tab
 
@@ -342,7 +347,7 @@ sysexits(3)
 
 Omar Polo &lt;omar.polo@europecom.net&gt;
 
-# BUGS
+# CAVEATS
 
 *	If, instead of a numeric value, a not-valid number that terminates
 	with the % sign is supplied, then the default value for that field
@@ -363,4 +368,4 @@ Omar Polo &lt;omar.polo@europecom.net&gt;
 	height of the window, remember to override the x and y coordinates as
 	well.
 
-OpenBSD 6.3 - July 21, 2018
+OpenBSD 6.3 - August 13, 2018