From 682536dcfd966f35d03a8abb26ad9d0c108b4e09 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sun, 1 May 2016 14:25:32 +0530 Subject: [PATCH] Order examples in man. --- README.md | 10 +++--- buku.1 | 94 +++++++++++++++++++++++++++---------------------------- 2 files changed, 52 insertions(+), 52 deletions(-) diff --git a/README.md b/README.md index c89e886..d6d8fed 100644 --- a/README.md +++ b/README.md @@ -224,25 +224,25 @@ The last index is moved to the deleted index to keep the DB compact. 7. **Delete all** bookmarks: $ buku -d -8. **Search** bookmarks for **ANY** of the keywords *kernel* and *debugging* in URL, title or tags: +8. **Search** bookmarks for **ANY** of the keywords `kernel` and `debugging` in URL, title or tags: $ buku -s kernel debugging -9. **Search** bookmarks with **ALL** the keywords *kernel* and *debugging* in URL, title or tags: +9. **Search** bookmarks with **ALL** the keywords `kernel` and `debugging` in URL, title or tags: $ buku -S kernel debugging -10. **Search** bookmarks with **tag** *general kernel concepts*: +10. **Search** bookmarks with **tag** `general kernel concepts`: $ buku -S ',general kernel concepts,' Note the commas (,) before and after the tag. Comma is the tag delimiter in DB. 11. List **all unique tags** alphabetically: $ buku -S tags -12. Encrypt/decrypt DB with **custom number of iterations** (15) to generate key: +12. **Encrypt or decrypt** DB with **custom number of iterations** (15) to generate key: $ buku -l 15 $ buku -k 15 -The same number of iterations must be used for one lock & unlock instance. +The same number of iterations must be used for one lock & unlock instance. Default is 8. 13. **Show details** of bookmark at index 15012014: $ buku -p 15012014 diff --git a/buku.1 b/buku.1 index 38ed52a..6973f00 100644 --- a/buku.1 +++ b/buku.1 @@ -216,62 +216,20 @@ The last index is moved to the deleted index to keep the DB compact. .B buku -d .PP .IP 8. 4 -List \fBall unique tags\fR alphabetically: -.PP -.EX -.IP -.B buku -S tags -.PP -.IP 9. 4 -\fBReplace tag\fR 'old tag' with 'new tag': -.PP -.EX -.IP -.B buku -r 'old tag' new tag -.PP -.IP 10. 4 -\fBDelete tag\fR 'old tag' from DB: -.PP -.EX -.IP -.B buku -r 'old tag' -.PP -.IP 11. 4 -\fBShow details\fR of bookmark at index 15012014: -.PP -.EX -.IP -.B buku -p 15012014 -.PP -.IP 12. 4 -\fBShow all\fR bookmarks with real index from database: -.PP -.EX -.IP -.B buku -p -.PP -.IP 13. 4 -\fBOpen URL\fR at index 15012014 in browser: -.PP -.EX -.IP -.B buku -o 15012014 -.PP -.IP 14. 4 \fBSearch\fR bookmarks for \fBANY\fR of the keywords 'kernel' and 'debugging' in URL, title or tags: .PP .EX .IP .B buku -s kernel debugging .PP -.IP 15. 4 +.IP 9. 4 \fBSearch\fR bookmarks with \fBALL\fR the keywords 'kernel' and 'debugging' in URL, title or tags: .PP .EX .IP .B buku -S kernel debugging .PP -.IP 16. 4 +.IP 10. 4 \fBSearch\fR bookmarks with \fBtag\fR 'general kernel concepts': .PP .EX @@ -282,8 +240,15 @@ List \fBall unique tags\fR alphabetically: .IP "" 4 Note the commas (,) before and after the tag. Comma is the tag delimiter in DB. .PP -.IP 17. 4 -Encrypt/decrypt DB with \fBcustom number of iterations\fR (15) to generate key: +.IP 11. 4 +List \fBall unique tags\fR alphabetically: +.PP +.EX +.IP +.B buku -S tags +.PP +.IP 12. 4 +\fBEncrypt or decrypt\fR DB with \fBcustom number of iterations\fR (15) to generate key: .PP .EX .IP @@ -293,7 +258,42 @@ Encrypt/decrypt DB with \fBcustom number of iterations\fR (15) to generate key: .EE .PP .IP "" 4 -The same number of iterations must be used for one lock & unlock instance. +The same number of iterations must be used for one lock & unlock instance. Default is 8. +.PP +.IP 13. 4 +\fBShow details\fR of bookmark at index 15012014: +.PP +.EX +.IP +.B buku -p 15012014 +.PP +.IP 14. 4 +\fBShow all\fR bookmarks with real index from database: +.PP +.EX +.IP +.B buku -p +.PP +.IP 15. 4 +\fBReplace tag\fR 'old tag' with 'new tag': +.PP +.EX +.IP +.B buku -r 'old tag' new tag +.PP +.IP 16. 4 +\fBDelete tag\fR 'old tag' from DB: +.PP +.EX +.IP +.B buku -r 'old tag' +.PP +.IP 17. 4 +\fBOpen URL\fR at index 15012014 in browser: +.PP +.EX +.IP +.B buku -o 15012014 .SH AUTHOR Arun Prakash Jana . .SH HOME