aboutsummaryrefslogtreecommitdiff
path: root/docs/cli.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/cli.md')
-rw-r--r--docs/cli.md10
1 files changed, 10 insertions, 0 deletions
diff --git a/docs/cli.md b/docs/cli.md
index 1843f42cd..4b8472b19 100644
--- a/docs/cli.md
+++ b/docs/cli.md
@@ -36,3 +36,13 @@ qmk compile <configuratorExport.json>
36``` 36```
37qmk compile -kb <keyboard_name> -km <keymap_name> 37qmk compile -kb <keyboard_name> -km <keymap_name>
38``` 38```
39
40## `qmk cformat`
41
42This command formats C code using clang-format. Run it with no arguments to format all core code, or pass filenames on the command line to run it on specific files.
43
44**Usage**:
45
46```
47qmk cformat [file1] [file2] [...] [fileN]
48```