mirror of
https://github.com/google/styleguide.git
synced 2024-03-22 13:11:43 +08:00
Fix a typo in cpplint
s/seperated/separated
This commit is contained in:
parent
1b206ee362
commit
43d512ba13
4
cpplint/cpplint.py
vendored
4
cpplint/cpplint.py
vendored
|
@ -575,7 +575,7 @@ def ProcessHppHeadersOption(val):
|
||||||
# Automatically append to extensions list so it does not have to be set 2 times
|
# Automatically append to extensions list so it does not have to be set 2 times
|
||||||
_valid_extensions.update(_hpp_headers)
|
_valid_extensions.update(_hpp_headers)
|
||||||
except ValueError:
|
except ValueError:
|
||||||
PrintUsage('Header extensions must be comma seperated list.')
|
PrintUsage('Header extensions must be comma separated list.')
|
||||||
|
|
||||||
def IsHeaderExtension(file_extension):
|
def IsHeaderExtension(file_extension):
|
||||||
return file_extension in _hpp_headers
|
return file_extension in _hpp_headers
|
||||||
|
@ -6204,7 +6204,7 @@ def ParseArguments(args):
|
||||||
try:
|
try:
|
||||||
_valid_extensions = set(val.split(','))
|
_valid_extensions = set(val.split(','))
|
||||||
except ValueError:
|
except ValueError:
|
||||||
PrintUsage('Extensions must be comma seperated list.')
|
PrintUsage('Extensions must be comma separated list.')
|
||||||
elif opt == '--headers':
|
elif opt == '--headers':
|
||||||
ProcessHppHeadersOption(val)
|
ProcessHppHeadersOption(val)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user