diff options
author | Erovia <Erovia@users.noreply.github.com> | 2021-07-23 21:41:33 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-23 21:41:33 +0100 |
commit | fdcea0633657fba4cebcef45eee2f103d162e28c (patch) | |
tree | 6d547e2154fa55aea125bc6fc08420c18c8f232a /.github/workflows | |
parent | 164a74a078722cc488526c0c8fcbc4e1b54a5780 (diff) |
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/workflows')
-rw-r--r-- | .github/workflows/format.yaml | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/.github/workflows/format.yaml b/.github/workflows/format.yaml index c17a04a542..351c3ff997 100644 --- a/.github/workflows/format.yaml +++ b/.github/workflows/format.yaml @@ -31,12 +31,12 @@ jobs: output: ' ' fileOutput: ' ' - - name: Run qmk cformat and qmk pyformat + - name: Run qmk format-c and qmk format-python shell: 'bash {0}' run: | - qmk cformat --core-only -n $(< ~/files.txt) - cformat_exit=$? - qmk pyformat -n - pyformat_exit=$? + qmk format-c --core-only -n $(< ~/files.txt) + format_c_exit=$? + qmk format-python -n + format_python_exit=$? - exit $((cformat_exit + pyformat_exit)) + exit $((format_c_exit + format_python_exit)) |