Subheaders

This commit is contained in:
Manuel Ebert 2013-11-30 15:13:48 -08:00
parent 209228ee6a
commit 8a8d19477f

View file

@ -88,6 +88,10 @@ the last five entries containing both ``@pineapple`` **and** ``@lubricant``. You
Editing and deleting entries Editing and deleting entries
---------------------------- ----------------------------
Deleting
~~~~~~~~
Use ``--delete`` to delete entries from your journal. This will only affect selected entries, e.g. :: Use ``--delete`` to delete entries from your journal. This will only affect selected entries, e.g. ::
jrnl -n 1 --delete 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. 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 <advanced>`). It behaves the same way ``--delete`` does, ie. :: 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 <advanced>`). It behaves the same way ``--delete`` does, ie. ::
jrnl -until 1950 @texas -and @history --edit jrnl -until 1950 @texas -and @history --edit