Scroll to navigation


NAME - manual page for 3.9


usage: [-h] [-i] [-p NUM] [-regex PATTERN]

[-iregex PATTERN] [-sort-includes] [-v]
[-style STYLE] [-binary BINARY]

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

optional arguments:

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)
let clang-format sort include blocks
be more verbose, ineffective without -i
formatting style to apply (LLVM, Google, Chromium, Mozilla, WebKit)
location of binary to use for clang-format
June 2018 3.9