mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-07 10:14:46 -04:00
lit-meta linux CLI completion and minor bugfix.
This commit is contained in:
parent
3086b89634
commit
b529439ada
@ -161,13 +161,12 @@ FLAG_HEAD = 8
|
||||
FLAG_ATOM = 16
|
||||
|
||||
class UnBinary(object):
|
||||
pending_indent = 0
|
||||
lingering_space = 0
|
||||
was_in_text = 0
|
||||
|
||||
def __init__(self, bin, manifest, attr_map=OPF_ATTR_MAP, tag_map=OPF_TAG_MAP,
|
||||
tag_to_attr_map=[[] for i in range(43)]):
|
||||
self.manifest = manifest
|
||||
self.pending_indent = 0
|
||||
self.lingering_space = 0
|
||||
self.was_in_text = 0
|
||||
self.attr_map = attr_map
|
||||
self.tag_map = tag_map
|
||||
self.tag_to_attr_map = tag_to_attr_map
|
||||
|
@ -96,6 +96,7 @@ def setup_completion():
|
||||
f.write(opts_and_exts('lrf-meta', metaop, ['lrf']))
|
||||
f.write(opts_and_exts('rtf-meta', metaop, ['rtf']))
|
||||
f.write(opts_and_exts('pdf-meta', metaop, ['pdf']))
|
||||
f.write(opts_and_exts('lit-meta', metaop, ['lit']))
|
||||
f.write(opts_and_exts('lrfviewer', lrfviewerop, ['lrf']))
|
||||
f.write('''
|
||||
_prs500_ls()
|
||||
|
Loading…
x
Reference in New Issue
Block a user