Change --fix option from mixed_line_ending

To make it easier to use in the program (single string instead of a list
of strings)
This commit is contained in:
Morgan Courbet 2017-06-18 12:31:22 +02:00
parent 51866649a6
commit 93194b9c6a
No known key found for this signature in database
GPG key ID: 467299D324A21B24

View file

@ -41,8 +41,7 @@ def _parse_arguments(argv=None):
'--fix',
choices=[m.optName for m in MixedLineEndingOption],
default='auto',
help='Replace line ending with the specified. Default is "auto"',
nargs=1)
help='Replace line ending with the specified. Default is "auto"')
parser.add_argument(
'-v',
'--verbose',