<commit_before>"""Livin life, doin stuff """


import argparse


parser = argparse.ArgumentParser()

parser.add_argument('search_string',
                    help='string to grep for')

parser.add_argument('--sys',
                    help='shell out to system grep',
                    action='store_true')


all_args = parser.parse_args()

print 'Here is the positional arg you entered: %s' % all_args.echo


<commit_msg>Get positional arg working<commit_after>"""Livin life, doin stuff """


import argparse


parser = argparse.ArgumentParser()

parser.add_argument('term',
                    help='search term to grep for')

parser.add_argument('--system',
                    help='shell out to system grep',
                    action='store_true')


args = parser.parse_args()

print 'OK going to grep the current directory for %s.' % args.term
if args.system:
    print 'shelling out to system grep'
else:
    print 'using python instead of system grep'
{'fraction_non_alphanumeric': 0.10695742471443406, 'fraction_numerical': 0.0, 'mean_word_length': 2.7509727626459144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7453231', 'n_tokens_mistral': 286, 'n_tokens_neox': 263, 'n_words': 85}