bash-completion: also complete epub files for calibre-debug

This is actually probably somewhat more common than azw3. ;)
This commit is contained in:
Eli Schwartz 2015-09-21 17:03:24 -04:00 committed by Eli Schwartz
parent 55033c352d
commit 54d1d4deb1
No known key found for this signature in database
GPG Key ID: CEB167EFB5722BD6

View File

@ -573,7 +573,7 @@ def write_completion(bash_comp_dest, zsh):
o_and_w('fetch-ebook-metadata', fem_op, [])
o_and_w('calibre-smtp', smtp_op, [])
o_and_w('calibre-server', serv_op, [])
o_and_e('calibre-debug', debug_op, ['py', 'recipe', 'mobi', 'azw', 'azw3', 'docx'], file_map={
o_and_e('calibre-debug', debug_op, ['py', 'recipe', 'epub', 'mobi', 'azw', 'azw3', 'docx'], file_map={
'--tweak-book':['epub', 'azw3', 'mobi'],
'--subset-font':['ttf', 'otf'],
'--exec-file':['py', 'recipe'],