summaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorMartin Polden <mpolden@mpolden.no>2021-09-24 10:10:58 +0200
committerMartin Polden <mpolden@mpolden.no>2021-09-24 11:25:17 +0200
commitb8e36a097e937ddf8f38baeb770d4a9f919ee9b4 (patch)
tree2b6e696304615ec481e8dfdf41536f28f10a0d87 /client
parentf4bc41817f78f8462e2b778829f9c1c5036379b6 (diff)
Document VESPA_CLI_HOME
Diffstat (limited to 'client')
-rw-r--r--client/go/cmd/config.go12
1 files changed, 10 insertions, 2 deletions
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