correct config file in help output

This commit is contained in:
Alan Hamlett 2016-04-26 13:40:08 +02:00
parent 67a2403070
commit dce9d70d48
2 changed files with 4 additions and 4 deletions

View file

@ -15,7 +15,7 @@ optional arguments:
--entity FILE absolute path to file for the heartbeat; can also be a --entity FILE absolute path to file for the heartbeat; can also be a
url, domain, or app when --entitytype is not file url, domain, or app when --entitytype is not file
--key KEY your wakatime api key; uses api_key from --key KEY your wakatime api key; uses api_key from
~/.wakatime.conf by default ~/.wakatime.cfg by default
--write when set, tells api this heartbeat was triggered from --write when set, tells api this heartbeat was triggered from
writing to a file writing to a file
--plugin PLUGIN optional text editor plugin name and version for User- --plugin PLUGIN optional text editor plugin name and version for User-
@ -52,6 +52,6 @@ optional arguments:
--apiurl API_URL heartbeats api url; for debugging with a local server --apiurl API_URL heartbeats api url; for debugging with a local server
--timeout TIMEOUT number of seconds to wait when sending heartbeats to --timeout TIMEOUT number of seconds to wait when sending heartbeats to
api; defaults to 60 seconds api; defaults to 60 seconds
--config CONFIG defaults to ~/.wakatime.conf --config CONFIG defaults to ~/.wakatime.cfg
--verbose turns on debug messages in log file --verbose turns on debug messages in log file
--version show program's version number and exit --version show program's version number and exit

View file

@ -106,7 +106,7 @@ def parseArguments():
help=argparse.SUPPRESS) help=argparse.SUPPRESS)
parser.add_argument('--key', dest='key', parser.add_argument('--key', dest='key',
help='your wakatime api key; uses api_key from '+ help='your wakatime api key; uses api_key from '+
'~/.wakatime.conf by default') '~/.wakatime.cfg by default')
parser.add_argument('--write', dest='isWrite', parser.add_argument('--write', dest='isWrite',
action='store_true', action='store_true',
help='when set, tells api this heartbeat was triggered from '+ help='when set, tells api this heartbeat was triggered from '+
@ -164,7 +164,7 @@ def parseArguments():
help='number of seconds to wait when sending heartbeats to api; '+ help='number of seconds to wait when sending heartbeats to api; '+
'defaults to 60 seconds') 'defaults to 60 seconds')
parser.add_argument('--config', dest='config', parser.add_argument('--config', dest='config',
help='defaults to ~/.wakatime.conf') help='defaults to ~/.wakatime.cfg')
parser.add_argument('--verbose', dest='verbose', action='store_true', parser.add_argument('--verbose', dest='verbose', action='store_true',
help='turns on debug messages in log file') help='turns on debug messages in log file')
parser.add_argument('--version', action='version', version=__version__) parser.add_argument('--version', action='version', version=__version__)