remove --entitytype from help output

This commit is contained in:
Alan Hamlett 2016-04-29 00:01:26 +02:00
parent 45a2595aaf
commit 745049d685
2 changed files with 2 additions and 2 deletions

View file

@ -13,7 +13,7 @@ Common interface for the WakaTime api.
optional arguments: optional arguments:
-h, --help show this help message and exit -h, --help show this help message and exit
--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 --entity-type is not file
--key KEY your wakatime api key; uses api_key from --key KEY your wakatime api key; uses api_key from
~/.wakatime.cfg 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

View file

@ -102,7 +102,7 @@ def parseArguments():
parser.add_argument('--entity', dest='entity', metavar='FILE', parser.add_argument('--entity', dest='entity', metavar='FILE',
action=FileAction, action=FileAction,
help='absolute path to file for the heartbeat; can also be a '+ help='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 --entity-type is not file')
parser.add_argument('--file', dest='file', action=FileAction, parser.add_argument('--file', dest='file', action=FileAction,
help=argparse.SUPPRESS) help=argparse.SUPPRESS)
parser.add_argument('--key', dest='key', parser.add_argument('--key', dest='key',