1
0
mirror of https://github.com/AndrewX192/lenovo-sa120-fanspeed-utility synced 2025-12-06 01:23:19 +00:00

Fix usage message

This commit is contained in:
Will Glynn
2016-05-24 12:49:53 -05:00
parent 996b5e676f
commit 01cfed5ae3

View File

@@ -11,7 +11,7 @@ def print_speeds(device):
print("Fan {} speed: {}".format(i, check_output(['sg_ses', '--index=coo,{}'.format(i), '--get=1:2:11', device]).decode('utf-8').split('\n')[0]))
if len(sys.argv) < 2:
print("python fanspeed.py /dev/sgX 1-7")
print("python fancontrol.py /dev/sgX 1-7")
sys.exit(-1)
device = sys.argv[1]