mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-05-08 21:53:29 +02:00
Fix --with-library=/whatever not working for calibredb list
This commit is contained in:
parent
f534935a78
commit
4db400e6bf
1 changed files with 1 additions and 1 deletions
|
|
@ -165,7 +165,7 @@ def list_option_parser(db=None):
|
|||
|
||||
def command_list(args, dbpath):
|
||||
pre = get_parser('')
|
||||
pargs = [x for x in args if x in ('--with-library', '--library-path')
|
||||
pargs = [x for x in args if x.startswith('--with-library') or x.startswith('--library-path')
|
||||
or not x.startswith('-')]
|
||||
opts = pre.parse_args(sys.argv[:1] + pargs)[0]
|
||||
db = get_db(dbpath, opts)
|
||||
|
|
|
|||
Loading…
Reference in a new issue