From 45e921cff5aadefd1f905ec6c508df2c17d87684 Mon Sep 17 00:00:00 2001 From: Micah Jerome Ellison Date: Sat, 8 Jan 2022 12:20:47 -0800 Subject: [PATCH] Add --config-file and remove examples from CLI reference --- docs/reference-command-line.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/docs/reference-command-line.md b/docs/reference-command-line.md index 075d2272..87f6a50f 100644 --- a/docs/reference-command-line.md +++ b/docs/reference-command-line.md @@ -8,6 +8,7 @@ usage: jrnl [--debug] [--help] [--version] [--list] [--encrypt] [--decrypt] [-and] [-starred] [-n [NUMBER]] [-not [TAG]] [--edit] [--delete] [--format TYPE] [--tags] [--short] [--config-override CONFIG_KV_PAIR CONFIG_KV_PAIR] + [--config-file CONFIG_FILE_PATH] [[...]] ``` @@ -114,16 +115,9 @@ Only shows the date and titles of the searched entries. Override configured key-value pair with CONFIG_KV_PAIR for this command invocation only. -Examples: +### --config-file CONFIG_FILE_PATH -Use a different editor for this jrnl entry: -``` -jrnl --config-override editor "nano" -``` -Override color selections: -``` -jrnl --config-override colors.body blue --config-override colors.title green -``` +Use the config file at CONFIG_FILE_PATH for this command invocation only. ## Other Arguments