aboutsummaryrefslogtreecommitdiff
path: root/src/cliargs.rs
diff options
context:
space:
mode:
authorlukeflo2025-06-08 21:00:42 +0200
committerlukeflo2025-06-08 21:00:42 +0200
commit0bfb5ee41ffbbae9f3e9133ad53cb41eec45f3d4 (patch)
treeb5c37675db3f5775bdeb0140ad10174e7dca339c /src/cliargs.rs
parent9653a63d8ad5a6cc2b5edaab971ece69440e5a52 (diff)
downloadbibiman-0bfb5ee41ffbbae9f3e9133ad53cb41eec45f3d4.tar.gz
bibiman-0bfb5ee41ffbbae9f3e9133ad53cb41eec45f3d4.zip
Fix: change option name from `pdf-dir` to `pdf-path` to match config name
Diffstat (limited to 'src/cliargs.rs')
-rw-r--r--src/cliargs.rs4
1 files changed, 2 insertions, 2 deletions
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.