mirror of
https://github.com/kovidgoyal/calibre.git
synced 2025-07-09 03:04:10 -04:00
...
This commit is contained in:
parent
9965600b3b
commit
8f17d21390
@ -233,7 +233,7 @@ def render_options(cmd, groups, options_header=True, add_program=True, header_le
|
|||||||
|
|
||||||
|
|
||||||
def mark_options(raw):
|
def mark_options(raw):
|
||||||
raw = re.sub(r'(\s+)--(\s+)', r'\1``--``\2', raw)
|
raw = re.sub(r'(\s+)--(\s+)', ur'\1-\u200b-\2', raw)
|
||||||
|
|
||||||
def sub(m):
|
def sub(m):
|
||||||
opt = m.group()
|
opt = m.group()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user