Skip to content

Commit

Permalink
improve update command
Browse files Browse the repository at this point in the history
  • Loading branch information
brianstrauch committed Jul 21, 2021
1 parent d51e9e6 commit e4ef372
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions internal/update/update.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ const repo = "brianstrauch/spotify-cli"
func NewCommand() *cobra.Command {
return &cobra.Command{
Use: "update",
Short: "update to the latest version",
Short: "update CLI to the latest version",
RunE: func(cmd *cobra.Command, _ []string) error {
isUpdated, err := IsUpdated(cmd)
if err != nil {
Expand All @@ -34,7 +34,7 @@ func NewCommand() *cobra.Command {
return err
}

cmd.Printf("Updated CLI to version %s!\n", latest.Version.String())
cmd.Printf("🎁 v%s\n", latest.Version.String())
return nil
},
}
Expand Down

0 comments on commit e4ef372

Please # to comment.