aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-10 12:26:32 +0200
committerPatrick Lehmann <Patrick.Lehmann@plc2.de>2023-04-10 12:28:17 +0200
commit0a14cbcc82ee732aeb4a061b5dfeb1ec16a2ac95 (patch)
tree5bfc83db1473d27aa0b41b5dacba45edeb69a7bd
parent7a28ce3badd18a1b06f7a03a34cd8fa9b5873242 (diff)
downloadghdl-0a14cbcc82ee732aeb4a061b5dfeb1ec16a2ac95.tar.gz
ghdl-0a14cbcc82ee732aeb4a061b5dfeb1ec16a2ac95.tar.bz2
ghdl-0a14cbcc82ee732aeb4a061b5dfeb1ec16a2ac95.zip
Adjustments to pyTooling.
(cherry picked from commit 29ed1fdb26122ba272ed0da465a998fc267d75d8)
-rwxr-xr-xpyGHDL/cli/dom.py9
1 files changed, 2 insertions, 7 deletions
diff --git a/pyGHDL/cli/dom.py b/pyGHDL/cli/dom.py
index 442ad6688..04c23575b 100755
--- a/pyGHDL/cli/dom.py
+++ b/pyGHDL/cli/dom.py
@@ -114,8 +114,8 @@ class Application(LineTerminal, ArgParseMixin):
_design: Design
- def __init__(self, debug=False, verbose=False, quiet=False, sphinx=False):
- super().__init__(verbose, debug, quiet)
+ def __init__(self):
+ super().__init__()
# Initialize DOM with an empty design
# --------------------------------------------------------------------------
@@ -155,11 +155,6 @@ class Application(LineTerminal, ArgParseMixin):
add_help=False,
)
- # If executed in Sphinx to auto-document CLI arguments, exit now
- # --------------------------------------------------------------------------
- if sphinx:
- return
-
# Change error and warning reporting
# --------------------------------------------------------------------------
self._LOG_MESSAGE_FORMAT__[Severity.Fatal] = "{DARK_RED}[FATAL] {message}{NOCOLOR}"