Add the python version to the version output

This commit is contained in:
Matt Martz
2019-01-23 11:34:23 -06:00
parent 9ac1091eae
commit b0b826c870

View File

@@ -1602,7 +1602,8 @@ def ctrl_c(shutdown_event):
def version():
"""Print the version"""
printer(__version__)
printer('speedtest-cli %s' % __version__)
printer('Python %s' % sys.version.replace('\n', ''))
sys.exit(0)