aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
authorErovia <Erovia@users.noreply.github.com>2021-07-23 21:41:33 +0100
committerGitHub <noreply@github.com>2021-07-23 21:41:33 +0100
commitfdcea0633657fba4cebcef45eee2f103d162e28c (patch)
tree6d547e2154fa55aea125bc6fc08420c18c8f232a /.github
parent164a74a078722cc488526c0c8fcbc4e1b54a5780 (diff)
downloadqmk_firmware-fdcea0633657fba4cebcef45eee2f103d162e28c.tar.gz
qmk_firmware-fdcea0633657fba4cebcef45eee2f103d162e28c.zip
CLI/Docs: Fix the format commands' name (#13668)
PR #13296 changed the name of the `cformat` and `pyformat` commands to `format-c` and `format-py` respectively. This PR updates the documentation and some parts of the CLI to use the new names. Also add documentation for the new `format-text` subcommand, introduced in the same PR.
Diffstat (limited to '.github')
-rw-r--r--.github/workflows/format.yaml12
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml
index c17a04a54..351c3ff99 100644
--- a/.github/workflows/format.yaml
+++ b/.github/workflows/format.yaml
@@ -31,12 +31,12 @@ jobs:
31 output: ' ' 31 output: ' '
32 fileOutput: ' ' 32 fileOutput: ' '
33 33
34 - name: Run qmk cformat and qmk pyformat 34 - name: Run qmk format-c and qmk format-python
35 shell: 'bash {0}' 35 shell: 'bash {0}'
36 run: | 36 run: |
37 qmk cformat --core-only -n $(< ~/files.txt) 37 qmk format-c --core-only -n $(< ~/files.txt)
38 cformat_exit=$? 38 format_c_exit=$?
39 qmk pyformat -n 39 qmk format-python -n
40 pyformat_exit=$? 40 format_python_exit=$?
41 41
42 exit $((cformat_exit + pyformat_exit)) 42 exit $((format_c_exit + format_python_exit))