add back --ignore for backwards compatibility

This commit is contained in:
Alan Hamlett 2015-03-09 15:20:37 -07:00
parent fd346176b4
commit 74829dae01

View file

@ -168,6 +168,8 @@ def parseArguments(argv):
help='filename patterns to log; when used in combination with '+ help='filename patterns to log; when used in combination with '+
'--exclude, files matching include will still be logged; '+ '--exclude, files matching include will still be logged; '+
'POSIX regex syntax; can be used more than once') 'POSIX regex syntax; can be used more than once')
parser.add_argument('--ignore', dest='ignore', action='append',
help=argparse.SUPPRESS)
parser.add_argument('--logfile', dest='logfile', parser.add_argument('--logfile', dest='logfile',
help='defaults to ~/.wakatime.log') help='defaults to ~/.wakatime.log')
parser.add_argument('--config', dest='config', parser.add_argument('--config', dest='config',