Antonboom / testifylint

The Golang linter that checks usage of github.com/stretchr/testify.
https://github.com/stretchr/testify
MIT License
101 stars 8 forks source link

Version flag unsuported #175

Open Xarakiri opened 1 month ago

Xarakiri commented 1 month ago

Installed last version of testifylint

go install github.com/Antonboom/testifylint@latest

And got an error while trying to print version

➜  ~ testifylint -V
testifylint: unsupported flag value: -V=true (use -V=full)
➜  ~

-V=true and -V=full also don't work

➜  ~ testifylint -V=true
testifylint: unsupported flag value: -V=true (use -V=full)
➜  ~ testifylint -V=full
/Users/mac/go/bin/testifylint version devel comments-go-here buildID=d96eb5ef14112910370b26b280f200314c2c46316154bed8163c70903afd903e
➜  ~

I expect got something like this:

➜  ~ testifylint -V
testifylint 1.4.3