Executing run_telfile.py without arguments raises an exception
Summary
Executing run_telfile.py
without arguments will result in an exception. Instead, it should display information about how to use the script and which arguments are accepted.
Environment
- Operating System: all
- TELEMAC version: main
Steps to reproduce
run_telfile.py
What is the current bug behaviour?
An exception as the script expects non-empty arguments.
What is the expected correct behaviour?
Information about the use of the script should be displayed, as for converter.py
.
Relevant logs and/or screenshots
Interpreting command line options
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Traceback (most recent call last):
File "/home/user/telemac/scripts/python3/run_telfile.py", line 476, in <module>
main()
File "/home/user/telemac/scripts/python3/run_telfile.py", line 465, in main
raise TelemacException(\
utils.exceptions.TelemacException:
Do not know what to do with this code name: None