mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-07 13:55:20 +00:00
Merge pull request #82 from ncdc/tweak-version-output
Tweak version display
This commit is contained in:
@@ -29,7 +29,9 @@ func NewCommand() *cobra.Command {
|
||||
Use: "version",
|
||||
Short: "Print the ark version and associated image",
|
||||
Run: func(cmd *cobra.Command, args []string) {
|
||||
fmt.Printf("Version: [%s] - [%s]\n", buildinfo.Version, buildinfo.GitSHA)
|
||||
fmt.Printf("Version: %s\n", buildinfo.Version)
|
||||
fmt.Printf("Git commit: %s\n", buildinfo.GitSHA)
|
||||
fmt.Printf("Git tree state: %s\n", buildinfo.GitTreeState)
|
||||
fmt.Println("Configured docker image:", buildinfo.DockerImage)
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user