[Guide](https://komalang.org/guide/) · 8 of 8

# Check and tidy

One command finds problems and writes the standard form.

## Check the source

`koma check talk.koma` reports problems and formatting differences, and changes nothing. Add `--write` to apply the safe fixes and write the standard form. Every problem it can report is in the [diagnostics](https://komalang.org/spec/semantics/#diagnostics); the whole command is on the [CLI](https://komalang.org/command/) page.

## Related rules

- [The standard form](https://komalang.org/spec/conformance/#standard-form)
- [Diagnostics](https://komalang.org/spec/semantics/#diagnostics)
