Update help, add -r to man.
This commit is contained in:
parent
1433a58b6a
commit
96d4bd2303
@ -120,7 +120,7 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin
|
|||||||
-a URL [tags] add URL as bookmark with comma separated tags
|
-a URL [tags] add URL as bookmark with comma separated tags
|
||||||
-d N delete entry at DB index N (from -p 0), N=0 deletes all
|
-d N delete entry at DB index N (from -p 0), N=0 deletes all
|
||||||
-g list all tags alphabetically
|
-g list all tags alphabetically
|
||||||
-m title manually specify the title, for -a, -i, -u
|
-m title manually set title, for -a, -i, -u; '-m none' clears title
|
||||||
-s keyword(s) search bookmarks for any keyword
|
-s keyword(s) search bookmarks for any keyword
|
||||||
-S keyword(s) search bookmarks with all keywords
|
-S keyword(s) search bookmarks with all keywords
|
||||||
-u N [URL] [tags] update fields of the entry at DB index N
|
-u N [URL] [tags] update fields of the entry at DB index N
|
||||||
|
2
buku
2
buku
@ -980,7 +980,7 @@ def usage():
|
|||||||
" -a URL [tags] add URL as bookmark with comma separated tags\n"
|
" -a URL [tags] add URL as bookmark with comma separated tags\n"
|
||||||
" -d N delete entry at DB index N (from -p 0), N=0 deletes all\n"
|
" -d N delete entry at DB index N (from -p 0), N=0 deletes all\n"
|
||||||
" -g list all tags alphabetically\n"
|
" -g list all tags alphabetically\n"
|
||||||
" -m title manually specify the title, for -a, -i, -u\n"
|
" -m title manually set title, for -a, -i, -u; '-m none' clears title\n"
|
||||||
" -s keyword(s) search bookmarks for any keyword\n"
|
" -s keyword(s) search bookmarks for any keyword\n"
|
||||||
" -S keyword(s) search bookmarks with all keywords\n"
|
" -S keyword(s) search bookmarks with all keywords\n"
|
||||||
" -u N [URL] [tags] update fields of the entry at DB index N\n"
|
" -u N [URL] [tags] update fields of the entry at DB index N\n"
|
||||||
|
54
buku.1
54
buku.1
@ -39,7 +39,7 @@ When a record is deleted, the last record is moved to the index.
|
|||||||
AES256 is used for encryption. Optionally specify (-t) the number of hash iterations to use to generate key. Default is 8 iterations.
|
AES256 is used for encryption. Optionally specify (-t) the number of hash iterations to use to generate key. Default is 8 iterations.
|
||||||
.PP
|
.PP
|
||||||
Encryption is optional and manual. If you choose to use encryption, the database file should be unlocked (-k) before using buku and locked (-l) afterwards. Between these 2 operations, the database file lies unencrypted on the disk, and NOT in memory. Also, note that the database file is unencrypted on creation.
|
Encryption is optional and manual. If you choose to use encryption, the database file should be unlocked (-k) before using buku and locked (-l) afterwards. Between these 2 operations, the database file lies unencrypted on the disk, and NOT in memory. Also, note that the database file is unencrypted on creation.
|
||||||
.SH OPTIONS
|
.SH GENERAL OPTIONS
|
||||||
.TP
|
.TP
|
||||||
.BI \-a " URL" " " "[tags]"
|
.BI \-a " URL" " " "[tags]"
|
||||||
Bookmark
|
Bookmark
|
||||||
@ -53,12 +53,31 @@ in DB (from -p 0 output). The last record is moved to the removed index.
|
|||||||
.I N
|
.I N
|
||||||
= 0 deletes all records from DB.
|
= 0 deletes all records from DB.
|
||||||
.TP
|
.TP
|
||||||
.B \-e
|
|
||||||
Show all bookmarks with empty titles or no tags (for bookkeeping).
|
|
||||||
.TP
|
|
||||||
.B \-g
|
.B \-g
|
||||||
List all unique tags sorted alphabetically.
|
List all unique tags sorted alphabetically.
|
||||||
.TP
|
.TP
|
||||||
|
.BI \-m " title"
|
||||||
|
Manually specify the title, works with -a, -i, -u. `-m none` clears title.
|
||||||
|
.TP
|
||||||
|
.BI \-s " keywords"
|
||||||
|
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 with all keywords in URL, title or tags and show the results. Rest same as -s.
|
||||||
|
.TP
|
||||||
|
.BI \-u " N" " " "[URL]" " " "[tags]"
|
||||||
|
Update fields of bookmark at index
|
||||||
|
.I N
|
||||||
|
in DB. The first keyword, if available, is treated as the URL. If URL is omitted (and -m is not used) the title of entry at index
|
||||||
|
.I N
|
||||||
|
is refreshed from the web,
|
||||||
|
.I N
|
||||||
|
= 0 refreshes all titles.
|
||||||
|
.SH POWER OPTIONS
|
||||||
|
.TP
|
||||||
|
.B \-e
|
||||||
|
Show all bookmarks with empty titles or no tags (for bookkeeping).
|
||||||
|
.TP
|
||||||
.BI \-i " N"
|
.BI \-i " N"
|
||||||
Add a new record at free index
|
Add a new record at free index
|
||||||
.I N
|
.I N
|
||||||
@ -73,9 +92,6 @@ Decrypt (unlock) the DB file.
|
|||||||
.B \-l
|
.B \-l
|
||||||
Encrypt (lock) the DB file.
|
Encrypt (lock) the DB file.
|
||||||
.TP
|
.TP
|
||||||
.BI \-m " title"
|
|
||||||
Manually specify the title, works with -a, -i, -u.
|
|
||||||
.TP
|
|
||||||
.BI \-o " N"
|
.BI \-o " N"
|
||||||
Open URL at DB index
|
Open URL at DB index
|
||||||
.I N
|
.I N
|
||||||
@ -88,26 +104,22 @@ in DB.
|
|||||||
.I N
|
.I N
|
||||||
= 0 shows all records with actual index from DB. Shows URL, title and tags.
|
= 0 shows all records with actual index from DB. Shows URL, title and tags.
|
||||||
.TP
|
.TP
|
||||||
.BI \-s " keywords"
|
.BI \-r " oldtag" " " "[newtag]"
|
||||||
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 '()'.
|
Replace
|
||||||
.TP
|
.I oldtag
|
||||||
.BI \-S " keywords"
|
with
|
||||||
Search bookmarks with all keywords in URL, title or tags and show the results. Rest same as -s.
|
.I newtag
|
||||||
|
if both are passed, delete
|
||||||
|
.I oldtag
|
||||||
|
if
|
||||||
|
.I newtag
|
||||||
|
is omitted.
|
||||||
.TP
|
.TP
|
||||||
.BI \-t " N"
|
.BI \-t " N"
|
||||||
Use
|
Use
|
||||||
.I N
|
.I N
|
||||||
(> 0) hash iterations to generate key, works with -k, -l.
|
(> 0) hash iterations to generate key, works with -k, -l.
|
||||||
.TP
|
.TP
|
||||||
.BI \-u " N" " " "[URL]" " " "[tags]"
|
|
||||||
Update fields of bookmark at index
|
|
||||||
.I N
|
|
||||||
in DB. The first keyword, if available, is treated as the URL. If URL is omitted (and -m is not used) the title of entry at index
|
|
||||||
.I N
|
|
||||||
is refreshed from the web,
|
|
||||||
.I N
|
|
||||||
= 0 refreshes all titles.
|
|
||||||
.TP
|
|
||||||
.BI \-x " N"
|
.BI \-x " N"
|
||||||
Show selective monochrome output. Works with -p. If
|
Show selective monochrome output. Works with -p. If
|
||||||
.I N
|
.I N
|
||||||
|
Loading…
Reference in New Issue
Block a user