mirror of
git://github.com/kovidgoyal/calibre.git
synced 2026-04-23 12:43:09 +02:00
Fix #1736313 [zsh completion does not build reproducibly](https://bugs.launchpad.net/calibre/+bug/1736313)
This commit is contained in:
parent
631ca6393e
commit
9bd2332d2c
1 changed files with 1 additions and 1 deletions
|
|
@ -329,7 +329,7 @@ def get_parser(input_fmt='epub', output_fmt=None):
|
|||
'--input-encoding' not in o._long_opts]
|
||||
if not opts:
|
||||
continue
|
||||
opts = '\\\n '.join(tuple(self.get_options(opts)))
|
||||
opts = '\\\n '.join(tuple(sorted(self.get_options(opts))))
|
||||
w('\n%s() {'%(func%fmt))
|
||||
w('\n _arguments -s \\\n ' + opts)
|
||||
w('\n}\n')
|
||||
|
|
|
|||
Loading…
Reference in a new issue