From 6ed9659efd17cc42f67a0f4d2e3c8a404c69fdc1 Mon Sep 17 00:00:00 2001 From: Arun Prakash Jana Date: Sat, 2 Feb 2019 09:52:59 +0530 Subject: [PATCH] Update docs on update behaviour --- README.md | 4 ++-- buku | 2 +- buku.1 | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index cc9a1d3..fa9f8db 100644 --- a/README.md +++ b/README.md @@ -171,7 +171,7 @@ GENERAL OPTIONS: refresh title, desc, tags if no edit options if no arguments: - update results when used with search - - otherwise refresh all titles, desc, tags + - otherwise refresh all titles and desc -w, --write [editor|index] open editor to edit a fresh bookmark edit last bookmark, if index=-1 @@ -364,7 +364,7 @@ PROMPT KEYS: $ buku -u $ buku -u --tacit (show only failures and exceptions) - This operation can update the title, tags (appended) or description fields of non-immutable bookmarks by parsing the fetched page. Fields are updated only if the fetched fields are non-empty. + This operation can update the title or description fields of non-immutable bookmarks by parsing the fetched page. Fields are updated only if the fetched fields are non-empty. Tags remain untouched. 13. **Delete** bookmark at index 15012014: $ buku -d 15012014 diff --git a/buku b/buku index da8ef64..1d07ab4 100755 --- a/buku +++ b/buku @@ -4681,7 +4681,7 @@ POSITIONAL ARGUMENTS: refresh title, desc, tags if no edit options if no arguments: - update results when used with search - - otherwise refresh all titles, desc, tags + - otherwise refresh all titles and desc -w, --write [editor|index] open editor to edit a fresh bookmark edit last bookmark, if index=-1 diff --git a/buku.1 b/buku.1 index 3fc8332..efab354 100644 --- a/buku.1 +++ b/buku.1 @@ -51,7 +51,7 @@ Bookmarks with immutable titles are listed with '(L)' after the title. .IP 6. 4 \fBUpdate\fR operation: - If --title, --tag or --comment is passed without argument, clear the corresponding field from DB. - - If --url is passed (and --title is omitted), update the title from web using the URL. Description is updated (if --comment is omitted) and tags are appended to (if --tag is omitted). + - If --url is passed (and --title is omitted), update the title from web using the URL. Description is updated (if --comment is omitted). Tags remain untouched. - If indices are passed without any other options (--url, --title, --tag, --comment and --immutable), read the URLs from DB and update titles, description and append tags from web. Bookmarks marked immutable are skipped. - Can update bookmarks matching a search, when combined with any of the search options and no arguments to update are passed. .PP @@ -576,7 +576,7 @@ Applies to --title and --tag too. URL cannot be deleted without deleting the boo .EE .PP .IP "" 4 -This operation can update the title, tags (appended) or description fields of non-immutable bookmarks by parsing the fetched page. Fields are updated only if the fetched fields are non-empty. +This operation can update the title or description fields of non-immutable bookmarks by parsing the fetched page. Fields are updated only if the fetched fields are non-empty. Tags remain untouched. .PP .IP 13. 4 \fBDelete\fR bookmark at index 15012014: