Add the python version to the version output
This commit is contained in:
parent
9ac1091eae
commit
b0b826c870
|
@ -1602,7 +1602,8 @@ def ctrl_c(shutdown_event):
|
||||||
def version():
|
def version():
|
||||||
"""Print the version"""
|
"""Print the version"""
|
||||||
|
|
||||||
printer(__version__)
|
printer('speedtest-cli %s' % __version__)
|
||||||
|
printer('Python %s' % sys.version.replace('\n', ''))
|
||||||
sys.exit(0)
|
sys.exit(0)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue