diff options
author | umarcor <unai.martinezcorral@ehu.eus> | 2021-06-20 02:57:43 +0200 |
---|---|---|
committer | umarcor <unai.martinezcorral@ehu.eus> | 2021-06-22 13:15:28 +0200 |
commit | 015f62d05b35466a6fbb5f33370d9615e028f9f0 (patch) | |
tree | c356f92c21c1d2e39ae146f6ce11e451bcc3018b /pyGHDL/cli | |
parent | bf45d9939dc26d0d584dd549923b9962f83360ec (diff) | |
download | ghdl-015f62d05b35466a6fbb5f33370d9615e028f9f0.tar.gz ghdl-015f62d05b35466a6fbb5f33370d9615e028f9f0.tar.bz2 ghdl-015f62d05b35466a6fbb5f33370d9615e028f9f0.zip |
pyGHDL: add ghdl-dom entrypoint
Diffstat (limited to 'pyGHDL/cli')
-rwxr-xr-x | pyGHDL/cli/DOM.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pyGHDL/cli/DOM.py b/pyGHDL/cli/DOM.py index 2b846edde..1ab3d4321 100755 --- a/pyGHDL/cli/DOM.py +++ b/pyGHDL/cli/DOM.py @@ -40,7 +40,7 @@ class Application: print("\n".join(buffer)) -def main(items): +def main(items=argv[1:]): _exitcode = 0 if len(items) < 1: @@ -63,4 +63,4 @@ def main(items): if __name__ == "__main__": - sysexit(main(argv[1:])) + sysexit(main()) |