From 088479eb271b4e28726c3c6f776e4fbfb04720a4 Mon Sep 17 00:00:00 2001 From: Jonas Chevalier Date: Thu, 30 May 2024 19:10:07 +0200 Subject: [PATCH] Update cli/cli.go Co-authored-by: Brian McGee --- cli/cli.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cli.go b/cli/cli.go index 524b737e..5eba35ea 100644 --- a/cli/cli.go +++ b/cli/cli.go @@ -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)."`