summaryrefslogtreecommitdiff
path: root/asciidoc/__main__.py
diff options
context:
space:
mode:
Diffstat (limited to 'asciidoc/__main__.py')
-rw-r--r--asciidoc/__main__.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/asciidoc/__main__.py b/asciidoc/__main__.py
index d7384c5..2c9b731 100644
--- a/asciidoc/__main__.py
+++ b/asciidoc/__main__.py
@@ -1,7 +1,7 @@
try:
from .asciidoc import cli, set_caller
except ImportError:
- from asciidoc import cli, set_caller
+ raise SystemExit('ERROR: You must execute as a module using the -m flag')
set_caller(__name__)
cli()