usage: [-h] [-i] [-p P] [-style STYLE]

Reformat changed lines in diff. Without -i option just output the diff that would beintroduced.

optional arguments:

-h, --help

show this help message and exit


apply edits to files instead of displaying a diff

-p P

strip the smallest prefix containing P slashes

-style STYLE

formatting style to apply (LLVM, Google, Chromium, Mozilla, WebKit)

RELATED TO clang-format-diff-3.4…

The full documentation for is maintained as a Texinfo manual. If the info and programs are properly installed at your site, the command

  • info

should give you access to the complete manual.