Skip to content

Commit

Permalink
Merge #243
Browse files Browse the repository at this point in the history
243: Small typo in documentation r=zimbatm a=pinage404



Co-authored-by: pinage404 <[email protected]>
  • Loading branch information
bors[bot] and pinage404 authored Jul 30, 2023
2 parents 8ca89b1 + 9ac409b commit 3987049
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,11 @@ treefmt [FLAGS] [OPTIONS] [--] [paths]...
`--tree-root <tree-root>`

> Set the path to the tree root directory where treefmt will look for the files to format. Defaults to the folder holding the `treefmt.toml` file. It’s mostly useful in combination with config-file to specify the project root which won’t coincide with the directory holding `treefmt.toml`.
> Set the path to the tree root directory where treefmt will look for the files to format. Defaults to the folder holding the `treefmt.toml` file. It’s mostly useful in combination with `--config-file` to specify the project root which won’t coincide with the directory holding `treefmt.toml`.
`-C <work-dir>`

> Run as if `treefmt` was started in <work-dir> instead of the current working directory (default: .). Equivalent to cd `<work dir>; treefmt`.
> Run as if `treefmt` was started in `<work-dir>` instead of the current working directory (default: `.`). Equivalent to `cd <work dir>; treefmt`.
## Arguments

Expand Down

0 comments on commit 3987049

Please sign in to comment.