Merge pull request #330 from stillwondering/show-version-in-version-command

Include version string in version command output
This commit is contained in:
Andrea Spacca
2020-10-12 19:33:08 +02:00
committed by GitHub

View File

@ -251,7 +251,7 @@ type Cmd struct {
} }
func VersionAction(c *cli.Context) { 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 { func New() *Cmd {