diff options
| -rw-r--r-- | README.md | 2 | ||||
| -rw-r--r-- | src/cliargs.rs | 4 |
2 files changed, 3 insertions, 3 deletions
@@ -132,7 +132,7 @@ FLAGS: -c, --config-file=<value> Path to config file used for current session. Takes precedence over standard config file. --light-terminal Enable color mode for light terminal background - --pdf-dir=<value> Use PDF files named by citekey at the given path and its + --pdf-path=<value> Use PDF files named by citekey at the given path and its subdirs as value for the `file` field of the entry matching the citekey for the current session. Does not overwrite or change the original file. diff --git a/src/cliargs.rs b/src/cliargs.rs index 04886d1..114b15a 100644 --- a/src/cliargs.rs +++ b/src/cliargs.rs @@ -56,7 +56,7 @@ impl CLIArgs { Short('v') | Long("version") => args.versionarg = true, Short('c') | Long("config-file") => args.cfg_path = Some(parser.value()?.parse()?), Long("light-terminal") => args.light_theme = true, - Long("pdf-dir") => { + Long("pdf-path") => { args.pdf_path = Some(parser.value()?.parse()?); } // Value(pos_arg) => parse_files(&mut args, pos_arg), @@ -131,7 +131,7 @@ FLAGS: -c, --config-file=<value> Path to config file used for current session. Takes precedence over standard config file. --light-terminal Enable color mode for light terminal background - --pdf-dir=<value> Use PDF files named by citekey at the given path and its + --pdf-path=<value> Use PDF files named by citekey at the given path and its subdirs as value for the `file` field of the entry matching the citekey for the current session. Does not overwrite or change the original file. |
