mirror of
https://github.com/pre-commit/pre-commit-hooks.git
synced 2026-04-05 11:36:54 +00:00
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:
parent
51866649a6
commit
93194b9c6a
1 changed files with 1 additions and 2 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue