Skip to content
This repository has been archived by the owner on Oct 29, 2021. It is now read-only.

Commit

Permalink
Add version command
Browse files Browse the repository at this point in the history
Signed-off-by: Ashmita Bohara <[email protected]>
  • Loading branch information
Ashmita152 committed Mar 22, 2021
1 parent 3976fed commit 5c0f449
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ var (
versionCmd = &cobra.Command{
Use: "version",
Short: "Version of opentelemetry-collector-builder",
Long: "Prints the version of opentelemetry-collector-builder binary",
Long: "Prints the version of opentelemetry-collector-builder binary",
Run: func(cmd *cobra.Command, args []string) {
fmt.Println(version)
},
Expand Down

0 comments on commit 5c0f449

Please sign in to comment.