File tree 2 files changed +5
-5
lines changed
2 files changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -37,14 +37,14 @@ def get_args():
37
37
38
38
parser .add_argument ('-m' ,
39
39
'--min_word_len' ,
40
- metavar = 'mininum ' ,
40
+ metavar = 'minimum ' ,
41
41
type = int ,
42
42
default = 3 ,
43
43
help = 'Minimum word length' )
44
44
45
45
parser .add_argument ('-x' ,
46
46
'--max_word_len' ,
47
- metavar = 'maximumm ' ,
47
+ metavar = 'maximum ' ,
48
48
type = int ,
49
49
default = 6 ,
50
50
help = 'Maximum word length' )
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ def get_args():
17
17
18
18
parser .add_argument ('file' ,
19
19
metavar = 'FILE' ,
20
- type = argparse .FileType ('r ' ),
20
+ type = argparse .FileType ('rt ' ),
21
21
nargs = '+' ,
22
22
help = 'Input file(s)' )
23
23
@@ -37,14 +37,14 @@ def get_args():
37
37
38
38
parser .add_argument ('-m' ,
39
39
'--min_word_len' ,
40
- metavar = 'mininum ' ,
40
+ metavar = 'minimum ' ,
41
41
type = int ,
42
42
default = 3 ,
43
43
help = 'Minimum word length' )
44
44
45
45
parser .add_argument ('-x' ,
46
46
'--max_word_len' ,
47
- metavar = 'maximumm ' ,
47
+ metavar = 'maximum ' ,
48
48
type = int ,
49
49
default = 6 ,
50
50
help = 'Maximum word length' )
You can’t perform that action at this time.
0 commit comments