From 87260e4a602c6b65134e0b6e1c4ccfd8ade7ee56 Mon Sep 17 00:00:00 2001 From: Joe Mooring Date: Tue, 18 Aug 2026 10:51:47 -0700 Subject: [PATCH] commands: Fix lang flag description in config command Closes #15223 --- commands/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/commands/config.go b/commands/config.go index 59433b359..d8f20b50b 100644 --- a/commands/config.go +++ b/commands/config.go @@ -116,7 +116,7 @@ func (c *configCommand) Init(cd *simplecobra.Commandeer) error { cmd.Long = `Display project configuration, both default and custom settings.` cmd.Flags().StringVar(&c.format, "format", "toml", "preferred file format (toml, yaml or json)") _ = cmd.RegisterFlagCompletionFunc("format", cobra.FixedCompletions([]string{"toml", "yaml", "json"}, cobra.ShellCompDirectiveNoFileComp)) - cmd.Flags().StringVar(&c.lang, "lang", "", "the language to display config for. Defaults to the first language defined.") + cmd.Flags().StringVar(&c.lang, "lang", "", "the language to display config for (default is the default content language)") cmd.Flags().BoolVar(&c.printZero, "printZero", false, `include config options with zero values (e.g. false, 0, "") in the output`) _ = cmd.RegisterFlagCompletionFunc("lang", cobra.NoFileCompletions) applyLocalFlagsBuildConfig(cmd, c.r)