Document --format=3.

This commit is contained in:
Arun Prakash Jana 2016-10-11 11:38:03 +05:30
parent a614fed57e
commit 65f9c783f7
No known key found for this signature in database
GPG Key ID: A75979F35C080412
3 changed files with 9 additions and 6 deletions

View File

@ -181,8 +181,8 @@ Shell completion scripts for Bash, Fish and Zsh can be found in respective subdi
-m, --merge file merge bookmarks from another buku database
-p, --print [N] show details of bookmark at DB index N
show all bookmarks, if no arguments
-f, --format N modify -p output
N=1: show only URL, N=2: show URL and tag
-f, --format N modify -p output. N=1: show only URL,
N=2: show URL and tag, N=3: show only title
-r, --replace oldtag [newtag ...]
replace oldtag with newtag everywhere
delete oldtag, if no newtag

4
buku
View File

@ -1759,8 +1759,8 @@ if __name__ == '__main__':
-m, --merge file merge bookmarks from another buku database
-p, --print [N] show details of bookmark at DB index N
show all bookmarks, if no arguments
-f, --format N modify -p output
N=1: show only URL, N=2: show URL and tag, N=3: show only title
-f, --format N modify -p output. N=1: show only URL,
N=2: show URL and tag, N=3: show only title
-r, --replace oldtag [newtag ...]
replace oldtag with newtag everywhere
delete oldtag, if no newtag

7
buku.1
View File

@ -120,10 +120,13 @@ is omitted, all records with actual index from DB are shown.
Show selective monochrome output. Works with -p. Useful for creating batch update scripts.
.br
.I N
= 1, only URL is shown.
= 1, show only URL.
.br
.I N
= 2, URL and tags are shown in a single line.
= 2, show URL and tags in a single line.
.br
.I N
= 3, show only title.
.TP
.BI \-r " " \--replace " oldtag [newtag ...]"
Replace