Browse Source

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

Include version string in version command output
tags/v1.2.0
Andrea Spacca 3 years ago
committed by GitHub
parent
commit
bcf40c15a2
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      cmd/cmd.go

+ 1
- 1
cmd/cmd.go View File

@@ -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 {


Loading…
Cancel
Save