Skip to content

Commit 865d6d7

Browse files
committed
📝 Update MAN page with new modifications
1 parent 6b194ab commit 865d6d7

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

res/rbmenu.1

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,9 @@ Print help information
2323
.B \-i
2424
Insert a new bookmark. Reads stdin for the link and uses the value of
2525
.B \-n
26-
for name of the bookmark.
26+
(if available) for name of the bookmark. If
27+
.B \-n
28+
is not available, then the name is parsed from the URL using a regular expressions.
2729
.TP
2830
.B \-l
2931
Lists all bookmarks available. If value of
@@ -37,7 +39,7 @@ Name of the bookmark. Required for
3739
.B \-i
3840
Optional argument to
3941
.B \-l
40-
for regex matching.
42+
for regex matching. If the value contains spaces, it is converted to underscores.
4143
.SH USAGE
4244
.TP
4345
.B echo 'https://github.com' | rbmenu -in 'github'
@@ -47,7 +49,7 @@ and link
4749
.IR https://github.com
4850
.TP
4951
.B rbmenu -l
50-
Displays all the bookmarks saved in a "space" seperated value.
52+
Displays all the bookmarks saved in a "space" seperated value. This allows for easy scripting using awk, sed etc. Names are in underscores always.
5153
.TP
5254
.B rbmenu -ln 'git*'
5355
Displays all the bookmarks that match the given regular expression pattern.

0 commit comments

Comments
 (0)