diff --git a/completers/bat_completer/cmd/root.go b/completers/bat_completer/cmd/root.go index 1bfe8d7587..18ffbbf77a 100644 --- a/completers/bat_completer/cmd/root.go +++ b/completers/bat_completer/cmd/root.go @@ -52,11 +52,11 @@ func init() { rootCmd.Flags().String("wrap", "", "Specify the text-wrapping mode (*auto*, never, character).") carapace.Gen(rootCmd).FlagCompletion(carapace.ActionMap{ - "color": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword).StyleF(style.ForKeyword), - "decorations": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword).StyleF(style.ForKeyword), + "color": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword), + "decorations": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword), "italic-text": carapace.ActionValues("never", "always").StyleF(style.ForKeyword), "language": action.ActionLanguages(), - "paging": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword).StyleF(style.ForKeyword), + "paging": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword), "style": carapace.ActionMultiParts(",", func(c carapace.Context) carapace.Action { return carapace.ActionValues("auto", "full", "plain", "changes", "header", "grid", "numbers", "snip").Invoke(c).Filter(c.Parts).ToA() }), diff --git a/completers/cfdisk_completer/cmd/root.go b/completers/cfdisk_completer/cmd/root.go index 1b1860e47d..dced4c6430 100644 --- a/completers/cfdisk_completer/cmd/root.go +++ b/completers/cfdisk_completer/cmd/root.go @@ -30,7 +30,7 @@ func init() { rootCmd.Flag("lock").NoOptDefVal = " " carapace.Gen(rootCmd).FlagCompletion(carapace.ActionMap{ - "color": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword).StyleF(style.ForKeyword), + "color": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword), "lock": carapace.ActionValues("yes", "no", "nonblock").StyleF(style.ForKeyword), }) diff --git a/completers/dockerd_completer/cmd/root.go b/completers/dockerd_completer/cmd/root.go index 1f031afb6a..b3c29d9fbd 100644 --- a/completers/dockerd_completer/cmd/root.go +++ b/completers/dockerd_completer/cmd/root.go @@ -119,7 +119,7 @@ func init() { "exec-root": carapace.ActionDirectories(), "group": os.ActionGroups(), "init-path": carapace.ActionDirectories(), - "log-level": carapace.ActionValues("debug", "info", "warn", "error", "fatal").StyleF(style.ForLogLevel).StyleF(style.ForLogLevel), + "log-level": carapace.ActionValues("debug", "info", "warn", "error", "fatal").StyleF(style.ForLogLevel), "pidfile": carapace.ActionFiles(), "userland-proxy-path": carapace.ActionFiles(), }) diff --git a/completers/fdisk_completer/cmd/root.go b/completers/fdisk_completer/cmd/root.go index f5086f6419..5f602174c1 100644 --- a/completers/fdisk_completer/cmd/root.go +++ b/completers/fdisk_completer/cmd/root.go @@ -47,11 +47,11 @@ func init() { rootCmd.Flag("lock").NoOptDefVal = " " carapace.Gen(rootCmd).FlagCompletion(carapace.ActionMap{ - "color": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword).StyleF(style.ForKeyword), + "color": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword), "compatibility": carapace.ActionValues("dos", "nondos"), "lock": carapace.ActionValues("yes", "no", "nonblock").StyleF(style.ForKeyword), "units": carapace.ActionValues("cylinders", "sectors"), - "wipe-partitions": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword).StyleF(style.ForKeyword), + "wipe-partitions": carapace.ActionValues("auto", "never", "always").StyleF(style.ForKeyword), }) carapace.Gen(rootCmd).PositionalCompletion(