瀏覽代碼

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 {


Loading…
取消
儲存