-
Notifications
You must be signed in to change notification settings - Fork 18.4k
Closed
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.help wanted
Milestone
Description
Go version
Online 'Latest' version on the pkg.go.dev documentation
Output of go env
in your module/workspace:
irrelevant
What did you do?
Viewing the online documentation on stringer at https://pkg.go.dev/golang.org/x/tools/cmd/stringer.
What did you see happen?
Nowhere in the package documentation is any mention of the stringer command line option trimprefix
.
What did you expect to see?
The Usage()
output does mention trimprefix
, see https://cs.opensource.google/go/x/tools/+/refs/tags/v0.37.0:cmd/stringer/stringer.go;drc=6016188d8e58282ea0a17064039059f275da5d01;l=96
I'd expect the option to also be mentioned in the package comments/documentation.
Metadata
Metadata
Assignees
Labels
DocumentationIssues describing a change to documentation.Issues describing a change to documentation.NeedsInvestigationSomeone must examine and confirm this is a valid issue and not a duplicate of an existing one.Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.ToolsThis label describes issues relating to any tools in the x/tools repository.This label describes issues relating to any tools in the x/tools repository.help wanted