Distinguish -s and -S.

This commit is contained in:
Arun Prakash Jana 2016-04-20 20:47:47 +05:30
parent 08fb03eec1
commit 18c42dc9f4
No known key found for this signature in database
GPG Key ID: C0A712ED95043DCB
3 changed files with 5 additions and 5 deletions

View File

@ -125,7 +125,7 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin
-g list all tags alphabetically
-m title manually specify the title, for -a, -i, -u
-s keyword(s) search bookmarks for any keyword
-S keyword(s) search bookmarks for all keywords
-S keyword(s) search bookmarks with all keywords
-u N URL [tags] update all fields of entry at DB index N
-w fetch title from web, for -a, -i, -u
@ -221,7 +221,7 @@ The last index is moved to the deleted index to keep the DB compact.
14. **Search** bookmarks for **ANY** of the keywords `*kernel*` and `*debugging*` in URL, title or tags:
$ buku -s kernel debugging
15. **Search** bookmarks for **ALL** the keywords `*kernel*` and `*debugging*` in URL, title or tags:
15. **Search** bookmarks with **ALL** the keywords `*kernel*` and `*debugging*` in URL, title or tags:
$ buku -S kernel debugging

2
buku
View File

@ -965,7 +965,7 @@ def usage():
" -g list all tags alphabetically\n"
" -m title manually specify the title, for -a, -i, -u\n"
" -s keyword(s) search bookmarks for any keyword\n"
" -S keyword(s) search bookmarks for all keywords\n"
" -S keyword(s) search bookmarks with all keywords\n"
" -u N URL [tags] update all fields of entry at DB index N\n"
" -w fetch title from web, for -a, -i, -u\n\n"

4
buku.1
View File

@ -92,7 +92,7 @@ Refresh titles for all bookmarks from the web. Titles are updated only if non-em
Search bookmarks for any of the keywords in URL, title or tags and show the results. Prompts to enter result number to open in browser. Note that the sequential index number may not match the real index in database. DB index is shown in the end within '()'.
.TP
.BI \-S " keywords"
Search bookmarks for all keywords in URL, title or tags and show the results. Rest same as -s.
Search bookmarks with all keywords in URL, title or tags and show the results. Rest same as -s.
.TP
.BI \-t " N"
Use
@ -250,7 +250,7 @@ List \fBall unique tags\fR alphabetically:
.B buku -s kernel debugging
.PP
.IP 15. 4
\fBSearch\fR bookmarks for \fBALL\fR the keywords \fBkernel\fR and \fBdebugging\fR in URL, title or tags:
\fBSearch\fR bookmarks with \fBALL\fR the keywords \fBkernel\fR and \fBdebugging\fR in URL, title or tags:
.PP
.EX
.IP