Skip to content

Commit 7b4ed4b

Browse files
author
Savannah Ostrowski
committed
minor update
1 parent 6a661db commit 7b4ed4b

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cmd/root.go

+3-2
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ var (
2020
}
2121
versionCmd = &cobra.Command{
2222
Use: "version",
23-
Short: "Prints the Ghost version"
23+
Short: "Prints the Ghost version",
2424
Run: func(cmd *cobra.Command, args []string) {
25-
fmt.Printf("Ghost Version: %v", Version)
25+
version := fmt.Sprintf("Ghost version: %v", Version)
26+
fmt.Println(version)
2627
},
2728
}
2829
)

0 commit comments

Comments
 (0)