From 8a8d19477f0baaddab44d3c4e75adad726a85ba1 Mon Sep 17 00:00:00 2001 From: Manuel Ebert Date: Sat, 30 Nov 2013 15:13:48 -0800 Subject: [PATCH] Subheaders --- docs/usage.rst | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/usage.rst b/docs/usage.rst index f6abf668..04ffb7aa 100644 --- a/docs/usage.rst +++ b/docs/usage.rst @@ -88,6 +88,10 @@ the last five entries containing both ``@pineapple`` **and** ``@lubricant``. You Editing and deleting entries ---------------------------- +Deleting +~~~~~~~~ + + Use ``--delete`` to delete entries from your journal. This will only affect selected entries, e.g. :: jrnl -n 1 --delete @@ -98,6 +102,9 @@ will delete the last entry, :: will delete all entries tagged with ``@girlfriend`` written before June 2012. ``jrnl --delete`` would delete your **entire** journal, which is often not what you want. You will be shown the titles of the entries which are about to be deleted before you have to confirm the deletion. +Editing +~~~~~~~ + You can also edit selected entries after you wrote them. This is particularly useful when your journal file is encrypted. To use this feature, you need to have an editor configured in your journal configuration file (see :doc:`advanced usage `). It behaves the same way ``--delete`` does, ie. :: jrnl -until 1950 @texas -and @history --edit