From bc64a68142cc55b851da81cd6fccf59ba77eddb6 Mon Sep 17 00:00:00 2001 From: Carlos Alexandro Becker Date: Tue, 3 Dec 2024 13:26:48 -0300 Subject: [PATCH] fix: clarify filter --sort flag Signed-off-by: Carlos Alexandro Becker --- filter/options.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filter/options.go b/filter/options.go index 1490c4964..62a280236 100644 --- a/filter/options.go +++ b/filter/options.go @@ -34,6 +34,6 @@ type Options struct { Value string `help:"Initial filter value" default:"" env:"GUM_FILTER_VALUE"` Reverse bool `help:"Display from the bottom of the screen" env:"GUM_FILTER_REVERSE"` Fuzzy bool `help:"Enable fuzzy matching" default:"true" env:"GUM_FILTER_FUZZY" negatable:""` - Sort bool `help:"Sort the results" default:"true" env:"GUM_FILTER_SORT" negatable:""` + Sort bool `help:"Sort the results by their scores when fuzzy matching, no effect otherwise" default:"true" env:"GUM_FILTER_SORT" negatable:""` Timeout time.Duration `help:"Timeout until filter command aborts" default:"0s" env:"GUM_FILTER_TIMEOUT"` }