format-code(1)¶
Synopsis¶
format-code -d
|--directory
<directory>
[-n
] [-v
] [--use-available
]
Description¶
format-code will run format-code recursively on a directory of a git repository’s working tree, optionally committing the result.
Options¶
- -d <directory>, --directory <directory>¶
Top-level directory to which to apply formatting.
- -n, --dry-run¶
No changes will be made to source code.
- -v, --verbose¶
- --use-available¶
Use the version of clang-format already set up for use.