Skip to content

Commit

Permalink
one more set here
Browse files Browse the repository at this point in the history
  • Loading branch information
boyan committed May 9, 2023
1 parent 6a4a58d commit 4dc3184
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions papers/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -411,7 +411,7 @@ def check_install(parser, o, config):

def addcmd(parser, o, config):
"""
Given an options set and a config, sets up the function call to add the file or dir to the bibtex, and executes it.
Given an options set and a config, sets up the function call to add the file or all files in the directory to the bibtex, and executes it.
"""

set_nameformat_config_from_cmd(o, config)
Expand Down Expand Up @@ -936,7 +936,7 @@ def get_parser(config=None):

# list
# ======
listp = subparsers.add_parser('list', description='list (a subset of) entries',
listp = subparsers.add_parser('list', description='list (a subset of) entries in the existing bib file.',
parents=[cfg])

listp.add_argument('fullsearch', nargs='*', help='''Search field. Usually no quotes required. See keywords to search specific fields. All words must find a match, unless --any is passed.''')
Expand Down
3 changes: 3 additions & 0 deletions papers/bib.py
Original file line number Diff line number Diff line change
Expand Up @@ -716,6 +716,9 @@ def entry_filecheck_metadata(e, file, image=False):

def entry_filecheck(e, delete_broken=False, fix_mendeley=False,
check_hash=False, check_metadata=False, interactive=True, image=False, relative_to=None):
"""
Checks the bib entry file actually corresponds to an existing, correct file on disk.
"""

if 'file' not in e:
return
Expand Down

0 comments on commit 4dc3184

Please sign in to comment.