-
Notifications
You must be signed in to change notification settings - Fork 18k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
x/tools/go/analysis/singlechecker: flag "-V" is messed up #57716
Comments
Seems like a not very helpful error message.
I suspect this is just not finding a file in your path. Can you mind including the relevant results of |
Change https://go.dev/cl/461496 mentions this issue: |
|
The solution for |
After the CL is submitted there is now enough context to use |
What version of Go are you using (
go version
)?Does this issue reproduce with the latest release?
Yes, I am using the latest version.
What operating system and processor architecture are you using (
go env
)?go env
OutputWhat did you do?
I built and installed https://github.com/kubernetes-sigs/logtools, then asked it to report its version. First I consulted
logcheck -h
to find out how to make it report its version. That said "-V print version and exit". So then I tried it as follows.I reported this to the logtools repo, see kubernetes-sigs/logtools#9 . The response there is that the problem is in the go tooling.
Also:
What did you expect to see?
I expected the
-h
flag to provoke an accurate description of how to use the-V
flag.I expected
-V
, when used as recommended, to report on the program's version is some way.What did you see instead?
The error messages shown above.
The text was updated successfully, but these errors were encountered: