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
url, domain, or app when --entitytype is not file
--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
writing to a file
--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
--timeout TIMEOUT number of seconds to wait when sending heartbeats to
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
--version show program's version number and exit

View File

@ -106,7 +106,7 @@ def parseArguments():
help=argparse.SUPPRESS)
parser.add_argument('--key', dest='key',
help='your wakatime api key; uses api_key from '+
'~/.wakatime.conf by default')
'~/.wakatime.cfg by default')
parser.add_argument('--write', dest='isWrite',
action='store_true',
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; '+
'defaults to 60 seconds')
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',
help='turns on debug messages in log file')
parser.add_argument('--version', action='version', version=__version__)