mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
Fix a bug in the zsh completion when converting for ebook-conver with PDF output
This commit is contained in:
parent
4c674042c0
commit
f3203615ae
@ -166,7 +166,7 @@ class ZshCompleter(object): # {{{
|
|||||||
exclude = u"'(- *)'"
|
exclude = u"'(- *)'"
|
||||||
h = opt.help or ''
|
h = opt.help or ''
|
||||||
h = h.replace('"', "'").replace('[', '(').replace(
|
h = h.replace('"', "'").replace('[', '(').replace(
|
||||||
']', ')').replace('\n', ' ').replace(':', '\\:')
|
']', ')').replace('\n', ' ').replace(':', '\\:').replace('`', "'")
|
||||||
h = h.replace('%default', type(u'')(opt.default))
|
h = h.replace('%default', type(u'')(opt.default))
|
||||||
arg = ''
|
arg = ''
|
||||||
if opt.takes_value():
|
if opt.takes_value():
|
||||||
|
Loading…
x
Reference in New Issue
Block a user