From b8e36a097e937ddf8f38baeb770d4a9f919ee9b4 Mon Sep 17 00:00:00 2001 From: Martin Polden Date: Fri, 24 Sep 2021 10:10:58 +0200 Subject: Document VESPA_CLI_HOME --- client/go/cmd/config.go | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'client/go/cmd/config.go') diff --git a/client/go/cmd/config.go b/client/go/cmd/config.go index 3753d9a9390..c88225338c7 100644 --- a/client/go/cmd/config.go +++ b/client/go/cmd/config.go @@ -34,8 +34,16 @@ func init() { } var configCmd = &cobra.Command{ - Use: "config", - Short: "Configure default values for flags", + Use: "config", + Short: "Configure persistent values for flags", + Long: `Configure persistent values for flags. + +This command allows setting a persistent value for a given flag. On future +invocations the flag can then be omitted as it is read from the config file +instead. + +Configuration is written to $HOME/.vespa by default. This path can be +overridden by setting the VESPA_CLI_HOME environment variable.`, DisableAutoGenTag: true, Run: func(cmd *cobra.Command, args []string) { // Root command does nothing -- cgit v1.2.3