Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jun 25, 2022. It is now read-only.
/packrPublic archive

Commite63e9f6

Browse files
authored
Print version on new line (#246)
* Print version on new line* Print v2 version on new line
1 parentb4b6d10 commite63e9f6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

‎packr/cmd/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var versionCmd = &cobra.Command{
1111
Use:"version",
1212
Short:"prints packr version",
1313
Run:func(cmd*cobra.Command,args []string) {
14-
fmt.Print(packr.Version)
14+
fmt.Println(packr.Version)
1515
},
1616
}
1717

‎v2/packr2/cmd/version.go‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var versionCmd = &cobra.Command{
1111
Use:"version",
1212
Short:"shows packr version",
1313
RunE:func(cmd*cobra.Command,args []string)error {
14-
fmt.Print(packr.Version)
14+
fmt.Println(packr.Version)
1515
returnnil
1616
},
1717
}

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp