summaryrefslogtreecommitdiff
path: root/asciidoc/asciidoc.py
diff options
context:
space:
mode:
Diffstat (limited to 'asciidoc/asciidoc.py')
-rw-r--r--asciidoc/asciidoc.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/asciidoc/asciidoc.py b/asciidoc/asciidoc.py
index de79957..9d53b3d 100644
--- a/asciidoc/asciidoc.py
+++ b/asciidoc/asciidoc.py
@@ -9,7 +9,7 @@ Copyright (C) 2013-2022 AsciiDoc Contributors.
Free use of this software is granted under the terms of the GNU General Public
License as published by the Free Software Foundation; either version 2 of the
License, or (at your option) any later version.
-
+
This program is distributed in the hope that it will be useful, but WITHOUT ANY
WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE. See the GNU General Public License for more details.
@@ -5864,6 +5864,7 @@ def execute(cmd, opts, args):
def cli(argv=None):
+ set_caller("__main__")
if argv is None:
argv = sys.argv
# Process command line options.