Compare commits

...

3 Commits
2.3.0 ... 2.3.1

Author SHA1 Message Date
cccf37c284 Bumped the patch version number 2018-10-16 10:45:09 -04:00
15f70c2cc3 Merge pull request #401 from tculp/case-insensitive-search
Added a .lower() call to line when searching
2018-10-16 10:43:30 -04:00
cebe3de389 Update sheets.py
Added a missing .lower() to the line
2018-10-15 12:21:52 -04:00
3 changed files with 3 additions and 3 deletions

View File

@ -42,7 +42,7 @@ from docopt import docopt
if __name__ == '__main__':
# parse the command-line options
options = docopt(__doc__, version='cheat 2.3.0')
options = docopt(__doc__, version='cheat 2.3.1')
# list directories
if options['--directories']:

View File

@ -84,7 +84,7 @@ def search(term):
for cheatsheet in sorted(get().items()):
match = ''
for line in open(cheatsheet[1]):
if lowered_term in line:
if lowered_term in line.lower():
match += ' ' + line
if match != '':

View File

@ -3,7 +3,7 @@ import os
setup(
name = 'cheat',
version = '2.3.0',
version = '2.3.1',
author = 'Chris Lane',
author_email = 'chris@chris-allen-lane.com',
license = 'GPL3',