- main_parser.add_argument('-I', '--case-sensitive',
- action='store_true',
- help='don\'t ignore case ')
- main_parser.add_argument('-t', '--search-type',
- choices=['exact', 'start', 'substring'],
- default='start',
- help='search type: '
- 'exact match, substring at the start '
- '(this is the default), substring anywhere')
+ main_parser.add_argument('-I', '--case-sensitive', action='store_true',
+ help='don\'t ignore case')
+ main_parser.add_argument('-t', '--start', action='store_true',
+ help='search substring at the start '
+ '(this is the default)')
+ main_parser.add_argument('-s', '--substring', action='store_true',
+ help='search substring anywhere')
+ main_parser.add_argument('-f', '--full', action='store_true',
+ help='match the entire string')