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

Commit

Permalink
Print version on new line (#246)
Browse files Browse the repository at this point in the history
* Print version on new line

* Print v2 version on new line
  • Loading branch information
laynemcnish authored Mar 1, 2020
1 parent b4b6d10 commit e63e9f6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
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

0 comments on commit e63e9f6

Please sign in to comment.