Skip to content

Commit

Permalink
Update cli/cli.go
Browse files Browse the repository at this point in the history
Co-authored-by: Brian McGee <brian@bmcgee.ie>
  • Loading branch information
zimbatm and brianmcgee committed May 30, 2024
1 parent bd32d36 commit 088479e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli/cli.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type Format struct {
WorkingDirectory kong.ChangeDirFlag `default:"." short:"C" help:"Run as if treefmt was started in the specified working directory instead of the current working directory."`
NoCache bool `help:"Ignore the evaluation cache entirely. Useful for CI."`
ClearCache bool `short:"c" help:"Reset the evaluation cache. Use in case the cache is not precise enough."`
ConfigFile string `type:"path" help:"Load the config file from the given path (defaults to finding treefmt.toml up)."`
ConfigFile string `type:"path" help:"Load the config file from the given path (defaults to searching upwards for treefmt.toml)."`
FailOnChange bool `help:"Exit with error if any changes were made. Useful for CI."`
Formatters []string `short:"f" help:"Specify formatters to apply. Defaults to all formatters."`
TreeRoot string `type:"path" help:"The root directory from which treefmt will start walking the filesystem (defaults to the directory containing the config file)."`
Expand Down

0 comments on commit 088479e

Please sign in to comment.