donate-cpu.py: Fix parameter name in comments/help text.

This commit is contained in:
versat 2018-09-06 13:15:54 +02:00
parent 2da958efb5
commit 1d52875d4f
1 changed files with 4 additions and 4 deletions

View File

@ -2,10 +2,10 @@
# #
# A script a user can run to donate CPU to cppcheck project # A script a user can run to donate CPU to cppcheck project
# #
# Syntax: donate-cpu.py [-jN] [--stop-time=HH:MM] [--work-folder=path] # Syntax: donate-cpu.py [-jN] [--stop-time=HH:MM] [--work-path=path]
# -jN Use N threads in compilation/analysis. Default is 1. # -jN Use N threads in compilation/analysis. Default is 1.
# --stop-time=HH:MM Stop analysis when time has passed. Default is that you must terminate the script. # --stop-time=HH:MM Stop analysis when time has passed. Default is that you must terminate the script.
# --work-folder=path Work folder path. Default path is cppcheck-donate-cpu-workfolder in your home folder. # --work-path=path Work folder path. Default path is cppcheck-donate-cpu-workfolder in your home folder.
# #
# What this script does: # What this script does:
# 1. Check requirements # 1. Check requirements
@ -247,10 +247,10 @@ for arg in sys.argv[1:]:
elif arg == '--help': elif arg == '--help':
print('Donate CPU to Cppcheck project') print('Donate CPU to Cppcheck project')
print('') print('')
print('Syntax: donate-cpu.py [-jN] [--stop-time=HH:MM] [--work-folder=path]') print('Syntax: donate-cpu.py [-jN] [--stop-time=HH:MM] [--work-path=path]')
print(' -jN Use N threads in compilation/analysis. Default is 1.') print(' -jN Use N threads in compilation/analysis. Default is 1.')
print(' --stop-time=HH:MM Stop analysis when time has passed. Default is that you must terminate the script.') print(' --stop-time=HH:MM Stop analysis when time has passed. Default is that you must terminate the script.')
print(' --work-folder=path Work folder path. Default path is ' + workpath) print(' --work-path=path Work folder path. Default path is ' + workpath)
print('') print('')
print('Quick start: just run this script without any arguments') print('Quick start: just run this script without any arguments')
sys.exit(0) sys.exit(0)