From dce9d70d48f25a9ec1efa123e5c98f25d746ae46 Mon Sep 17 00:00:00 2001 From: Alan Hamlett Date: Tue, 26 Apr 2016 13:40:08 +0200 Subject: [PATCH] correct config file in help output --- tests/samples/output/test_help_contents | 4 ++-- wakatime/main.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/tests/samples/output/test_help_contents b/tests/samples/output/test_help_contents index 9021e1d..c3f20ed 100644 --- a/tests/samples/output/test_help_contents +++ b/tests/samples/output/test_help_contents @@ -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 diff --git a/wakatime/main.py b/wakatime/main.py index a6ceebe..c2a12e9 100644 --- a/wakatime/main.py +++ b/wakatime/main.py @@ -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__)