File tree Expand file tree Collapse file tree 2 files changed +5
-5
lines changed
Expand file tree Collapse file tree 2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ def get_args():
3737
3838 parser .add_argument ('-m' ,
3939 '--min_word_len' ,
40- metavar = 'mininum ' ,
40+ metavar = 'minimum ' ,
4141 type = int ,
4242 default = 3 ,
4343 help = 'Minimum word length' )
4444
4545 parser .add_argument ('-x' ,
4646 '--max_word_len' ,
47- metavar = 'maximumm ' ,
47+ metavar = 'maximum ' ,
4848 type = int ,
4949 default = 6 ,
5050 help = 'Maximum word length' )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def get_args():
1717
1818 parser .add_argument ('file' ,
1919 metavar = 'FILE' ,
20- type = argparse .FileType ('r ' ),
20+ type = argparse .FileType ('rt ' ),
2121 nargs = '+' ,
2222 help = 'Input file(s)' )
2323
@@ -37,14 +37,14 @@ def get_args():
3737
3838 parser .add_argument ('-m' ,
3939 '--min_word_len' ,
40- metavar = 'mininum ' ,
40+ metavar = 'minimum ' ,
4141 type = int ,
4242 default = 3 ,
4343 help = 'Minimum word length' )
4444
4545 parser .add_argument ('-x' ,
4646 '--max_word_len' ,
47- metavar = 'maximumm ' ,
47+ metavar = 'maximum ' ,
4848 type = int ,
4949 default = 6 ,
5050 help = 'Maximum word length' )
You can’t perform that action at this time.
0 commit comments