...
 
Commits (1)
......@@ -24,7 +24,7 @@ import speedometer_resources
__author__ = "Maxime Perrotin"
__license__ = "BSD"
__version__ = "1.0"
__version__ = "1.0.1"
__url__ = "http://taste.tuxfamily.org"
__all__ = ['Speedometer']
......@@ -318,6 +318,9 @@ def speedometer_cli():
return app.exec_()
if __name__ == '__main__':
sys.exit(speedometer_cli())
if "--version" in (arg for arg in sys.argv):
print("Speedometer version {} - Copyright (c) ESA".format(__version__))
else:
sys.exit(speedometer_cli())