From 2b83539828452d017840d5e5e747616318aaee13 Mon Sep 17 00:00:00 2001 From: Matthew Peveler Date: Fri, 17 Dec 2021 17:17:50 -0500 Subject: Print asciidoc execute details in a2x verbose Signed-off-by: Matthew Peveler --- asciidoc/a2x.py | 6 ++++++ 1 file changed, 6 insertions(+) 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'] -- cgit v1.2.1