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 /lib/python/qmk/cli/format | |
| parent | 164a74a078722cc488526c0c8fcbc4e1b54a5780 (diff) | |
| download | qmk_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 'lib/python/qmk/cli/format')
| -rw-r--r-- | lib/python/qmk/cli/format/c.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/python/qmk/cli/format/c.py b/lib/python/qmk/cli/format/c.py index 699de8d49..b7263e19f 100644 --- a/lib/python/qmk/cli/format/c.py +++ b/lib/python/qmk/cli/format/c.py | |||
| @@ -127,7 +127,7 @@ def format_c(cli): | |||
| 127 | 127 | ||
| 128 | # Sanity check | 128 | # Sanity check |
| 129 | if not files: | 129 | if not files: |
| 130 | cli.log.error('No changed files detected. Use "qmk cformat -a" to format all core files') | 130 | cli.log.error('No changed files detected. Use "qmk format-c -a" to format all core files') |
| 131 | return False | 131 | return False |
| 132 | 132 | ||
| 133 | # Run clang-format on the files we've found | 133 | # Run clang-format on the files we've found |
