---
name: "clang-format-diff-3.4"
section: "1"
platform: "linux"
package: "clang-format-3.4"
version: "1:3.4.2-13"
release: "Debian 8 (Jessie)"
platforms: ["linux"]
url: "https://new.carta.tech/clang-format-diff-3.4"
---

# clang-format-diff-3.4(1)

manual page for clang-format-diff.py 3.4

## NAME

clang-format-diff.py - manual page for clang-format-diff.py 3.4

## DESCRIPTION

usage: clang-format-diff.py \[-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

- **-i**

  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)

## SEE ALSO

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

-

  **info clang-format-diff.py**

should give you access to the complete manual.
