mirror of
https://github.com/dutchcoders/transfer.sh.git
synced 2020-11-18 19:53:40 -08:00
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.
This commit is contained in:
parent
ffb2cf0011
commit
fe1cde6614
@ -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 {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user