summaryrefslogtreecommitdiff
path: root/src/opt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/opt.rs')
-rw-r--r--src/opt.rs4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/opt.rs b/src/opt.rs
index df83659..5455777 100644
--- a/src/opt.rs
+++ b/src/opt.rs
@@ -29,6 +29,10 @@ pub struct GlobalOptions {
#[structopt(short, long, help = "Directory where journal should be stored")]
pub dirname: Option<PathBuf>,
+ /// Sub-directory in journal where new entries are put.
+ #[structopt(long)]
+ pub entries: Option<PathBuf>,
+
/// Which editor to invoke for editing journal entry drafts.
#[structopt(
long,