Mention how to format a tree recursively

[skip ci]
This commit is contained in:
Mark Karpov 2020-04-26 16:50:49 +02:00
parent d579a48f48
commit 9a3d872e33
No known key found for this signature in database
GPG Key ID: 8564658B2889FF7C

View File

@ -91,6 +91,12 @@ formatted output.
$ ormolu --mode inplace Module.hs
```
Use `find` to format a tree recursively:
```console
$ ormolu --mode inplace $(find . -name '*.hs')
```
## Magic comments
Ormolu understands two magic comments: