From 95477749629407e2a9e33c6ccf26ecc8b24ab07a Mon Sep 17 00:00:00 2001 From: skullY Date: Thu, 22 Aug 2019 10:18:52 -0700 Subject: CLI command to format C code --- docs/cli.md | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'docs') diff --git a/docs/cli.md b/docs/cli.md index 1843f42cd1..4b8472b19e 100644 --- a/docs/cli.md +++ b/docs/cli.md @@ -36,3 +36,13 @@ qmk compile ``` qmk compile -kb -km ``` + +## `qmk cformat` + +This 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. + +**Usage**: + +``` +qmk cformat [file1] [file2] [...] [fileN] +``` -- cgit v1.2.3