-
Notifications
You must be signed in to change notification settings - Fork 16
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
-V is messed up #9
Comments
That comes from https://github.com/golang/tools/blob/6546d82b229aa5bd9ebcc38b09587462e34b48b6/go/analysis/internal/analysisflags/flags.go#L197 in golang.org/x/tools. I don't think we can do anything about it. |
According to the source, only
|
The output of |
But logcheck is not calling it, is it? Its main.go is just doing this: Line 26 in 0d66178
I agree that this is bad, but it would have to be fixed in |
Is there problem here common to all uses of |
I don't think logcheck is special. https://grep.app/search?q=singlechecker.Main shows plenty of other examples that use the same main.go as logcheck. I checked out https://github.com/google/gvisor/blob/master/tools/checklocks/cmd/checklocks/main.go and got the same failure:
|
/triage accepted |
@pohly is right, logcheck is not special. I pursued this issue upstream and got it mostly resolved, see golang/go#57716 . Can we get a new point release to pick up this improvement? |
I looked at the solution and believe that further work is needed there. See my comments in golang/go#57716 and https://go-review.googlesource.com/c/tools/+/461496?tab=comments. |
@MikeSpreitzer: is the current solution in Go good enough for you? if yes, then I can update once it is in a tagged release and do a new release of logtools itself. |
@pohly : I agree with you that it would be better to fix |
This issue has not been updated in over 1 year, and should be re-triaged. You can:
For more details on the triage process, see https://www.kubernetes.dev/docs/guide/issue-triage/ /remove-triage accepted |
@pohly is this still relevant? |
@MikeSpreitzer: my understanding was that like me you wanted to get Can you clarify what we should be doing here? |
logcheck -h
saysbut when I try it something else happens.
The text was updated successfully, but these errors were encountered: