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)