diff options
author | Matthew Peveler <matt.peveler@gmail.com> | 2021-12-17 17:17:50 -0500 |
---|---|---|
committer | Matthew Peveler <matt.peveler@gmail.com> | 2021-12-17 17:25:09 -0500 |
commit | 2b83539828452d017840d5e5e747616318aaee13 (patch) | |
tree | 22d15fcfd12716b7619ba507614716571301bdc8 | |
parent | c40410692c538ee84f388754edbbb274e9dea975 (diff) | |
download | asciidoc-py3-2b83539828452d017840d5e5e747616318aaee13.tar.gz |
Print asciidoc execute details in a2x verbose
Signed-off-by: Matthew Peveler <matt.peveler@gmail.com>
-rw-r--r-- | asciidoc/a2x.py | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/asciidoc/a2x.py b/asciidoc/a2x.py index 931aabd..da19173 100644 --- a/asciidoc/a2x.py +++ b/asciidoc/a2x.py @@ -675,6 +675,12 @@ class A2X(AttrDict): options.append(('--backend', 'docbook')) options.append(('-a', 'a2x-format=%s' % self.format)) options.append(('--out-file', docbook_file)) + + verbose("executing: asciidoc {} {}".format( + ' '.join(map(lambda x: "{}{}".format(x[0], " " + x[1] if x[1] else ""), options)), + self.asciidoc_file + )) + asciidoc.cli(flatten(['asciidoc'] + options + [self.asciidoc_file])) if not self.no_xmllint and XMLLINT: xmllint_options = ['--nonet', '--noout', '--valid'] |