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', '--fix',
choices=[m.optName for m in MixedLineEndingOption], choices=[m.optName for m in MixedLineEndingOption],
default='auto', default='auto',
help='Replace line ending with the specified. Default is "auto"', help='Replace line ending with the specified. Default is "auto"')
nargs=1)
parser.add_argument( parser.add_argument(
'-v', '-v',
'--verbose', '--verbose',