forked from mirrors/qmk_userspace
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.
This commit is contained in:
parent
164a74a078
commit
fdcea06336
9 changed files with 50 additions and 39 deletions
|
@ -188,7 +188,7 @@ cli.log.info('Reading from %s and writing to %s', cli.args.filename, cli.args.ou
|
|||
|
||||
# Testing, and Linting, and Formatting (oh my!)
|
||||
|
||||
We use nose2, flake8, and yapf to test, lint, and format code. You can use the `pytest` and `pyformat` subcommands to run these tests:
|
||||
We use nose2, flake8, and yapf to test, lint, and format code. You can use the `pytest` and `format-py` subcommands to run these tests:
|
||||
|
||||
### Testing and Linting
|
||||
|
||||
|
@ -196,7 +196,7 @@ We use nose2, flake8, and yapf to test, lint, and format code. You can use the `
|
|||
|
||||
### Formatting
|
||||
|
||||
qmk pyformat
|
||||
qmk format-py
|
||||
|
||||
## Formatting Details
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue