mirror of
https://github.com/sivel/speedtest-cli.git
synced 2025-07-21 04:31:17 +02:00
Add the python version to the version output
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user