simplify array completion in clang-format
This commit is contained in:
parent
532813bd3b
commit
ea15ee250e
|
|
@ -49,7 +49,7 @@ _arguments \
|
||||||
'(-n --dry-run)'{-n,--dry-run}'[If set, do not actually make the formatting changes]' \
|
'(-n --dry-run)'{-n,--dry-run}'[If set, do not actually make the formatting changes]' \
|
||||||
'--dump-config[Dump configuration options to stdout and exit]' \
|
'--dump-config[Dump configuration options to stdout and exit]' \
|
||||||
'--fail-on-incomplete-format[If set, fail with exit code 1 on incomplete format]' \
|
'--fail-on-incomplete-format[If set, fail with exit code 1 on incomplete format]' \
|
||||||
'--fallback-style=[The name of the predefined style used as a fallback]: :'"($styles)" \
|
'--fallback-style=[The name of the predefined style used as a fallback]: :($styles)' \
|
||||||
'--ferror-limit=[Set the maximum number of clang-format errors to emit before stopping]:limit' \
|
'--ferror-limit=[Set the maximum number of clang-format errors to emit before stopping]:limit' \
|
||||||
'*--files=[Provide a list of files to run clang-format]: :_files' \
|
'*--files=[Provide a list of files to run clang-format]: :_files' \
|
||||||
'--fno-color-diagnostics[If set, not to print diagnostics in color]' \
|
'--fno-color-diagnostics[If set, not to print diagnostics in color]' \
|
||||||
|
|
@ -63,7 +63,7 @@ _arguments \
|
||||||
'--print-options[Print non default options after command line parsing]' \
|
'--print-options[Print non default options after command line parsing]' \
|
||||||
'--qualifier-alignment=[If set, overrides the qualifier alignment style determined by the QualifierAlignment style flag]' \
|
'--qualifier-alignment=[If set, overrides the qualifier alignment style determined by the QualifierAlignment style flag]' \
|
||||||
'--sort-includes[If set, overrides the include sorting behavior determined by the SortIncludes style flag]' \
|
'--sort-includes[If set, overrides the include sorting behavior determined by the SortIncludes style flag]' \
|
||||||
'--style=[Set coding style]: :'"($styles)" \
|
'--style=[Set coding style]: :($styles)' \
|
||||||
'--verbose[If set, show the list of processed files]' \
|
'--verbose[If set, show the list of processed files]' \
|
||||||
'(- *)--version[Display the version of this program]' \
|
'(- *)--version[Display the version of this program]' \
|
||||||
'*: :_files'
|
'*: :_files'
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue