mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-07-01 13:35:24 +02:00
clang-format: exhaustive style list (#8493)
* clang-format: exhaustive style list * Update clang-format.md
This commit is contained in:
parent
bc0b1f2736
commit
2ac7568e03
1 changed files with 2 additions and 2 deletions
|
@ -13,7 +13,7 @@
|
|||
|
||||
- Format a file using a predefined coding style:
|
||||
|
||||
`clang-format --style={{LLVM|Google|Chromium|Mozilla|WebKit}} {{path/to/file}}`
|
||||
`clang-format --style={{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} {{path/to/file}}`
|
||||
|
||||
- Format a file using the `.clang-format` file in one of the parent directories of the source file:
|
||||
|
||||
|
@ -21,4 +21,4 @@
|
|||
|
||||
- Generate a custom `.clang-format` file:
|
||||
|
||||
`clang-format --style={{LLVM|Google|Chromium|Mozilla|WebKit}} --dump-config > {{.clang-format}}`
|
||||
`clang-format --style={{LLVM|GNU|Google|Chromium|Microsoft|Mozilla|WebKit}} --dump-config > {{.clang-format}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue