diff options
author | Martin Polden <mpolden@mpolden.no> | 2022-02-15 14:03:42 +0100 |
---|---|---|
committer | Martin Polden <mpolden@mpolden.no> | 2022-02-15 14:03:42 +0100 |
commit | 9f2d97647e3813708e929ec2e9d1747454a34bcc (patch) | |
tree | d8c2519f6d89124e7576da66c16fb2e7daf7d68b /client | |
parent | db6cac9e82a6af55c7a364967360c26f590cd317 (diff) |
Update config get usage
Diffstat (limited to 'client')
-rw-r--r-- | client/go/cmd/config.go | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/client/go/cmd/config.go b/client/go/cmd/config.go index e375e2c66b9..bd8353cad3f 100644 --- a/client/go/cmd/config.go +++ b/client/go/cmd/config.go @@ -76,9 +76,10 @@ var setConfigCmd = &cobra.Command{ } var getConfigCmd = &cobra.Command{ - Use: "get option-name", - Short: "Get a configuration option", - Example: "$ vespa config get target", + Use: "get [option-name]", + Short: "Show given configuration option, or all configuration options", + Example: `$ vespa config get +$ vespa config get target`, Args: cobra.MaximumNArgs(1), DisableAutoGenTag: true, Run: func(cmd *cobra.Command, args []string) { |