From fe1cde6614da0b09e02aef64a25439abe5772a45 Mon Sep 17 00:00:00 2001 From: stillwondering <44878817+stillwondering@users.noreply.github.com> Date: Mon, 12 Oct 2020 13:25:29 +0200 Subject: [PATCH] Include version string in version command output The command `transfer.sh version` does not include the application's version string in its output. Fix this. --- cmd/cmd.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/cmd.go b/cmd/cmd.go index fff687d..e7a04b6 100644 --- a/cmd/cmd.go +++ b/cmd/cmd.go @@ -251,7 +251,7 @@ type Cmd struct { } func VersionAction(c *cli.Context) { - fmt.Println(color.YellowString(fmt.Sprintf("transfer.sh: Easy file sharing from the command line"))) + fmt.Println(color.YellowString(fmt.Sprintf("transfer.sh %s: Easy file sharing from the command line", Version))) } func New() *Cmd {