Skip to content
This repository was archived by the owner on Jun 25, 2022. It is now read-only.

Print version on new line #246

Merged
merged 2 commits into from
Mar 1, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion packr/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var versionCmd = &cobra.Command{
Use: "version",
Short: "prints packr version",
Run: func(cmd *cobra.Command, args []string) {
fmt.Print(packr.Version)
fmt.Println(packr.Version)
},
}

Expand Down
2 changes: 1 addition & 1 deletion v2/packr2/cmd/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ var versionCmd = &cobra.Command{
Use: "version",
Short: "shows packr version",
RunE: func(cmd *cobra.Command, args []string) error {
fmt.Print(packr.Version)
fmt.Println(packr.Version)
return nil
},
}
Expand Down