Skip to content

cmd/go: mod: unexpected behavior flag -h #31235

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

Closed
Konstantin8105 opened this issue Apr 3, 2019 · 2 comments
Closed

cmd/go: mod: unexpected behavior flag -h #31235

Konstantin8105 opened this issue Apr 3, 2019 · 2 comments
Labels
modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Milestone

Comments

@Konstantin8105
Copy link
Contributor

└─▪ go version
go version go1.12.1 linux/amd64

Expected behavior:

└─▪ go install -h
usage: go install [-i] [build flags] [packages]
Run 'go help install' for details.
└─▪ go list -h
usage: go list [-f format] [-json] [-m] [list flags] [build flags] [packages]
Run 'go help list' for details.

Unexpected behavior for go mod:

└─▪ go mod -h
go mod -h: unknown command
Run 'go help mod' for usage.

Write unknown command.

@andybons andybons changed the title cmd/go mod: unexpected behavior flag -h cmd/go: mod: unexpected behavior flag -h Apr 3, 2019
@andybons andybons added modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one. labels Apr 3, 2019
@andybons andybons added this to the Unplanned milestone Apr 3, 2019
@andybons
Copy link
Member

andybons commented Apr 3, 2019

@bcmills @jayconrod

@seankhliao
Copy link
Member

go mod has no flags it can list, i think redirecting to go help mod is appropriate.

@seankhliao seankhliao closed this as not planned Won't fix, can't repro, duplicate, stale Dec 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
modules NeedsInvestigation Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
Projects
None yet
Development

No branches or pull requests

3 participants