From c18fe5635f0c36c9c72d84a9c1c027afb2fce2df Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Fri, 25 Mar 2016 19:42:49 +0530 Subject: [PATCH] The purpose of insert is gone with auto-compaction. Signed-off-by: Arun Prakash Jana --- README.md | 4 ++-- buku | 2 +- buku.1 | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index bd7ec05..2711977 100644 --- a/README.md +++ b/README.md @@ -110,7 +110,7 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin ## Operational notes - It's advisable to copy URLs directly from the browser address bar, i.e., along with the leading `http://` or `https://` token. `buku` looks up title data (found within tags of HTML) from the web ONLY for fully-formed HTTP(S) URLs. - If the URL contains characters like `;`, `&` or brackets they may be interpreted specially by the shell. To avoid it, add the URL within single `'` or double `"` quotes. -- The same URL cannot be added twice. You can update tags and re-fetch title data. You can also delete it and insert at the same index. +- The same URL cannot be added twice. You can update tags and re-fetch title data. You can also insert a new bookmark at a free index. - You can either add or update or delete record(s) in one instance. A combination of these operations is not supported in a single run. - Search works in mysterious ways: - Substrings match (`match` matches `rematched`) for URL, tags and title. @@ -133,7 +133,7 @@ You may need to use `sudo` with `PREFIX` depending on your permissions on destin -D delete ALL bookmarks -e show bookmarks with empty titles or no tags -g show all tags (sorted alphabetically) - -i N insert entry at DB index N, useful to fill deleted index + -i N insert new bookmark at free DB index N -k decrypt (unlock) database file -l encrypt (lock) database file -m manually add or update the title offline, works with -a, -i, -u diff --git a/buku b/buku index bba3705..f34e8ef 100755 --- a/buku +++ b/buku @@ -82,7 +82,7 @@ def usage(): print(" -D delete ALL bookmarks") print(" -e show bookmarks with empty titles or no tags") print(" -g show all tags (sorted alphabetically)") - print(" -i N insert entry at DB index N, useful to fill deleted index") + print(" -i N insert new bookmark at free DB index N") print(" -k decrypt (unlock) database file") print(" -l encrypt (lock) database file") print(" -m manually add or update the title offline, works with -a, -i, -u") diff --git a/buku.1 b/buku.1 index 4b37f75..bc8da68 100644 --- a/buku.1 +++ b/buku.1 @@ -19,7 +19,7 @@ It's advisable to copy URLs directly from the browser address bar, i.e., along w .PP If the URL contains characters like ';', '&' or brackets they may be interpreted specially by the shell. To avoid it, add the URL within single ''' or double '"' qoutes. .PP -The same URL cannot be added twice. You can update tags and re-fetch title data. You can also delete it and insert at the same index. +The same URL cannot be added twice. You can update tags and re-fetch title data. You can also insert a new bookmark at a free index. .PP You can either add or update or delete record(s) in one instance. A combination of these operations is not supported in a single run. .PP @@ -55,9 +55,9 @@ Show all bookmarks with empty titles or no tags (for bookkeeping). Show all unique tags sorted aplhabetically. .TP .BI \-i " N" -Add a new record at index +Add a new record at free index .I N -in DB. Use this option to fill blank indices left by deleted bookmarks. +in DB. .TP .B \-k Decrypt (unlock) the DB file.