Commit a6e171e8 authored by Dion Haefner's avatar Dion Haefner

return code 1 at wrong usage

parent 2e47b0f7
......@@ -134,7 +134,10 @@ if __name__ == "__main__": # parse command line and call command handler
help="Plot only given variables. If not specified, all variables are plotted.")
args = parser.parse_args()
args = parser.parse_args()
except SystemExit:
except Exception as e:
print("dorie failed with ({0}) warning(s) and ({1}) error(s)".format(len(warn),1))
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