summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlmarz <main@lmarz.org>2021-11-09 10:25:19 +0100
committerGitHub <noreply@github.com>2021-11-08 23:25:19 -1000
commit1dac11c7636968083a1bc538e962f344b324229f (patch)
tree97dcd8716be8c3e1b5ba85546aa6b41ee034a570
parent42eeb158544f4657982e35e0b91e3d0697b484ee (diff)
downloadasciidoc-py3-1dac11c7636968083a1bc538e962f344b324229f.tar.gz
Fix incorrect parsing of asciidoc_opts in a2x (#219)
-rw-r--r--asciidoc/a2x.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asciidoc/a2x.py b/asciidoc/a2x.py
index 5a6fcc4..931aabd 100644
--- a/asciidoc/a2x.py
+++ b/asciidoc/a2x.py
@@ -980,7 +980,7 @@ def cli():
opts, args = parser.parse_args(argv)
if len(args) != 1:
parser.error('incorrect number of arguments')
- opts.asciidoc_opts = [x.split(' ', 1) for x in opts.asciidoc_opts]
+ opts.asciidoc_opts = [x.split(' ') for x in opts.asciidoc_opts]
opts.dblatex_opts = ' '.join(opts.dblatex_opts)
opts.fop_opts = ' '.join(opts.fop_opts)
opts.xsltproc_opts = ' '.join(opts.xsltproc_opts)