Quellcode durchsuchen

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

Include version string in version command output
tags/v1.2.0
Andrea Spacca vor 3 Jahren
committed by GitHub
Ursprung
Commit
bcf40c15a2
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: 4AEE18F83AFDEB23
1 geänderte Dateien mit 1 neuen und 1 gelöschten Zeilen
  1. +1
    -1
      cmd/cmd.go

+ 1
- 1
cmd/cmd.go Datei anzeigen

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


Laden…
Abbrechen
Speichern