From a41b9e8bf2aa0a25898e48cf25f24518d33a5c84 Mon Sep 17 00:00:00 2001 From: Andrew Nester Date: Wed, 6 Sep 2023 10:41:47 +0200 Subject: [PATCH] Added description for version command (#737) ## Changes Added description for version command ## Tests ``` databricks help ... Additional Commands: account Databricks Account Commands api Perform Databricks API call auth Authentication related commands bundle Databricks Asset Bundles completion Generate the autocompletion script for the specified shell fs Filesystem related commands help Help about any command sync Synchronize a local directory to a workspace directory version Retrieve information about the current version of CLI ``` --------- Co-authored-by: Pieter Noordhuis --- cmd/version/version.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/version/version.go b/cmd/version/version.go index 17bb4b9a..653fbb89 100644 --- a/cmd/version/version.go +++ b/cmd/version/version.go @@ -8,9 +8,9 @@ import ( func New() *cobra.Command { cmd := &cobra.Command{ - Use: "version", - Args: cobra.NoArgs, - + Use: "version", + Args: cobra.NoArgs, + Short: "Retrieve information about the current version of this CLI", Annotations: map[string]string{ "template": "Databricks CLI v{{.Version}}\n", },