diff options
| author | lukeflo | 2024-11-22 17:35:09 +0100 |
|---|---|---|
| committer | lukeflo | 2024-11-22 17:35:09 +0100 |
| commit | 53679da34cd7fe84aaac2a15f936e1450de7c125 (patch) | |
| tree | e80ab452c1294e58fa3a1feddc64d65ef3e8e916 /src/bibiman.rs | |
| parent | 19d55db7430bc943dad5e7e4ffcd79692caada0d (diff) | |
| download | bibiman-53679da34cd7fe84aaac2a15f936e1450de7c125.tar.gz bibiman-53679da34cd7fe84aaac2a15f936e1450de7c125.zip | |
rewrite cli parsing, allow multiple files and dir as args
Diffstat (limited to 'src/bibiman.rs')
| -rw-r--r-- | src/bibiman.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bibiman.rs b/src/bibiman.rs index 4d0aa60..3ae0520 100644 --- a/src/bibiman.rs +++ b/src/bibiman.rs @@ -77,7 +77,7 @@ pub struct Bibiman { impl Bibiman { // Constructs a new instance of [`App`]. pub fn new(args: CLIArgs) -> Result<Self> { - let main_bibfiles = args.bibfilearg; + let main_bibfiles = args.pos_args; let main_biblio = BibiSetup::new(&main_bibfiles); let tag_list = TagList::new(main_biblio.keyword_list.clone()); let search_struct = BibiSearch::default(); |
