mirror of
https://github.com/numtide/treefmt.git
synced 2024-09-11 08:55:33 +03:00
doc: update usage with info about walkers.
Signed-off-by: Brian McGee <brian@bmcgee.ie>
This commit is contained in:
parent
352dfff6e1
commit
e3fabb17e8
@ -16,6 +16,12 @@ treefmt [FLAGS] [OPTIONS] [--] [paths]...
|
||||
|
||||
## Flags
|
||||
|
||||
`--walk <auto|git|filesystem>`
|
||||
|
||||
> The method used to traverse the files within `<tree-root>`.
|
||||
> Default is `auto`, where we will detect if the `<tree-root>` is a git repository and use the `git` walker for
|
||||
> traversal. If not we will fall back to the `filesystem` walker.
|
||||
|
||||
`--allow-missing-formatter`
|
||||
|
||||
> Do not exit with an error if some of the configured formatters are missing.
|
||||
|
Loading…
Reference in New Issue
Block a user