fix '--language' option definition

This commit is contained in:
Rob Speer 2015-09-08 13:27:20 -04:00
parent 77a9b5c55b
commit 912171f8e7

View File

@ -20,7 +20,7 @@ if __name__ == '__main__':
parser = argparse.ArgumentParser()
parser.add_argument('-o', '--output', help='filename to write the output to', default='combined-freqs.csv')
parser.add_argument('-c', '--cutoff', type=int, help='stop after seeing a count below this', default=2)
parser.add_argument('-l', '--language', 'language code for which language the words are in', default=None)
parser.add_argument('-l', '--language', help='language code for which language the words are in', default=None)
parser.add_argument('inputs', help='names of input files to merge', nargs='+')
args = parser.parse_args()
merge_lists(args.inputs, args.output, args.cutoff, args.language)