From ad06a67c531dfe6e46623fb00f366f67d0790e0a Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Wed, 20 Apr 2016 21:27:53 +0530 Subject: [PATCH] Update help on delete. --- README.md | 5 ++--- buku.1 | 7 +++---- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 2436398..df3d0f7 100644 --- a/README.md +++ b/README.md @@ -121,7 +121,7 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin General options -a URL [tags] add URL as bookmark with comma separated tags - -d N delete entry at DB index N (from -p 0) + -d N delete entry at DB index N (from -p 0), N=0 deletes all -g list all tags alphabetically -m title manually specify the title, for -a, -i, -u -s keyword(s) search bookmarks for any keyword @@ -130,7 +130,6 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin -w fetch title from web, for -a, -i, -u Power toys - -D delete ALL bookmarks -e show bookmarks with empty titles or no tags -i N insert new bookmark at free DB index N -j show results in Json format @@ -195,7 +194,7 @@ This operation does not modify the indexes, URLs or tags. Only titles, if non-em The last index is moved to the deleted index to keep the DB compact. 6. **Delete all** bookmarks: - $ buku -D + $ buku -d 0 7. List **all unique tags** alphabetically: $ buku -g diff --git a/buku.1 b/buku.1 index 5a62fa5..13b6918 100644 --- a/buku.1 +++ b/buku.1 @@ -48,9 +48,8 @@ along with comma separated tags. A tag can have multiple words. The same URL can Delete bookmark at index .I N in DB (from -p 0 output). The last record is moved to the removed index. -.TP -.B \-D -Delete ALL bookmarks. +.I N += 0 deletes all records from DB. .TP .B \-e Show all bookmarks with empty titles or no tags (for bookkeeping). @@ -193,7 +192,7 @@ The last index is moved to the deleted index to keep the DB compact. .PP .EX .IP -.B buku -D +.B buku -d 0 .PP .IP 7. 4 List \fBall unique tags\fR alphabetically: