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
1 changed files with 2 additions and 1 deletions

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)