Skip to content

Commit

Permalink
fix trailing %
Browse files Browse the repository at this point in the history
  • Loading branch information
adelinag08 committed Mar 5, 2024
1 parent 5c96001 commit 4d6a4eb
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cmd/snd-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ import (
func main() {
rootCmd, _ := root.NewCmdRoot()
rootCmd.Version = cmd.Version
rootCmd.SetVersionTemplate(fmt.Sprintf("snd-cli version %s", cmd.Version))
versionTemplate := fmt.Sprintf("snd-cli version %s \n", cmd.Version)
rootCmd.SetVersionTemplate(versionTemplate)
err := rootCmd.Execute()
if err != nil {
fmt.Println("Error: ", err)
Expand Down

0 comments on commit 4d6a4eb

Please sign in to comment.