Manual page for clang-format-diff.py 3.5
usage: clang-format-diff.py [-h] [-i] [-p NUM] [-regex PATTERN]
[-iregex PATTERN] [-style STYLE]
Reformat changed lines in diff. Without -i option just output the diff that would be introduced.
show this help message and exit
apply edits to files instead of displaying a diff
strip the smallest prefix containing P slashes
custom pattern selecting file paths to reformat (case sensitive, overrides -iregex)
custom pattern selecting file paths to reformat (case insensitive, overridden by -regex)
formatting style to apply (LLVM, Google, Chromium, Mozilla, WebKit)
The full documentation for clang-format-diff.py is maintained as a Texinfo manual. If the info and clang-format-diff.py programs are properly installed at your site, the command
should give you access to the complete manual.