diff --git a/search.py b/search.py index 81ede87..8ed7f58 100644 --- a/search.py +++ b/search.py @@ -62,7 +62,7 @@ def search_contents_generic(filepath, content_args): return content_args['text'] = text - content_args['line_numbers'] = True + content_args['line_numbers'] = content_args.get('line_numbers', True) results = search(**content_args) results = list(results)