From 523806d6db09fff7ccd37d75810602ebcabf5649 Mon Sep 17 00:00:00 2001 From: Robyn Speer Date: Tue, 8 Sep 2015 13:27:20 -0400 Subject: [PATCH] fix '--language' option definition Former-commit-id: 912171f8e73255a82db9f6d18ecd6e071b563bb3 --- wordfreq_builder/wordfreq_builder/cli/merge_freqs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wordfreq_builder/wordfreq_builder/cli/merge_freqs.py b/wordfreq_builder/wordfreq_builder/cli/merge_freqs.py index 8a914b9..ddc308c 100644 --- a/wordfreq_builder/wordfreq_builder/cli/merge_freqs.py +++ b/wordfreq_builder/wordfreq_builder/cli/merge_freqs.py @@ -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)