Ver a proveniência
Merge pull request #330 from stillwondering/show-version-in-version-command
Include version string in version command output
tags/v1.2.0
Andrea Spacca
há 3 anos
committed by
GitHub
ascendente
cometimento
bcf40c15a2
Não foi encontrada uma chave conhecida para esta assinatura, na base de dados
ID da chave GPG: 4AEE18F83AFDEB23
1 ficheiros alterados com
1 adições e
1 eliminações
-
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 { |
|
|
|