ソースを参照

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年前
committed by GitHub
コミット
bcf40c15a2
この署名に対応する既知のキーがデータベースに存在しません GPGキーID: 4AEE18F83AFDEB23
1個のファイルの変更1行の追加1行の削除
  1. +1
    -1
      cmd/cmd.go

+ 1
- 1
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 {


読み込み中…
キャンセル
保存