소스 검색

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.
tags/v1.2.0
stillwondering 3 년 전
부모
커밋
fe1cde6614
No known key found for this signature in database GPG 키 ID: 935911A1FF0660B1
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 {


불러오는 중...
취소
저장