Commit 94de4b49 authored by Paweł Szostek's avatar Paweł Szostek

Add --version option, (logically) nicer printing infrastructure

parent b99b2094
......@@ -141,9 +141,12 @@ use 0 for current version""", metavar="ISE")
getattr(kernel, function)()
sth_chosen = True
except Exception,e :
p.print_version()
print e
if not sth_chosen:
p.rawprint("No option selected. Running automatic flow")
p.rawprint("To see some help, type hdlmake --help")
kernel.run()
if __name__ == "__main__":
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment