Skip to content

Commit

Permalink
Fix asciidoc argparse
Browse files Browse the repository at this point in the history
a2x seems to fail when a value to an argument looks like an argument itself.
The best fix seems to be to attach the value to the argument using an equal
sign.

https://bugs.python.org/issue9334
  • Loading branch information
lazka committed Feb 28, 2023
1 parent 6612d47 commit 6afd2ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/meson.build
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ foreach page : manpages
'-f', 'manpage',
'--xsltproc-opts', '-param man.endnotes.list.enabled 0 -param man.endnotes.are.numbered 0',
'-D', '@OUTDIR@',
'--asciidoc-opts', ' '.join(asciidoc_opts),
'--asciidoc-opts=' + ' '.join(asciidoc_opts),
'@INPUT@',
],
input : input,
Expand Down

0 comments on commit 6afd2ce

Please sign in to comment.