mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-06-28 13:36:14 +02:00
Added ability to list accessible journals.
Previously, if a user forgot the exact name of a journal, they could check the configuration file to retrieve this information. This patch adds support for performing this task using the jrnl interface. The newly added '-ls' option retrieves the available journals from the jrnl configuration files and displays each journal name on a separate line. This patch also updates the jrnl help display and the usage documentation to reflect these changes.
This commit is contained in:
parent
c20d5accba
commit
3450967eb3
2 changed files with 21 additions and 0 deletions
|
@ -7,6 +7,14 @@ Basic Usage
|
|||
|
||||
We intentionally break a convention on command line arguments: all arguments starting with a `single dash` will `filter` your journal before viewing it, and can be combined arbitrarily. Arguments with a `double dash` will control how your journal is displayed or exported and are mutually exclusive (ie. you can only specify one way to display or export your journal at a time).
|
||||
|
||||
Listing Journals
|
||||
----------------
|
||||
|
||||
You can list the journals accessible by jrnl::
|
||||
|
||||
jrnl -ls
|
||||
|
||||
The journals displayed correspond to those specified in the jrnl configuration file.
|
||||
|
||||
Composing Entries
|
||||
-----------------
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue