Skip to content
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

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

Konstantin8105 opened this issue Apr 3, 2019 · 1 comment


Copy link

@Konstantin8105 Konstantin8105 commented Apr 3, 2019

└─▪ 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 this to the Unplanned milestone Apr 3, 2019

This comment has been minimized.

Copy link

@andybons andybons commented Apr 3, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
None yet
2 participants
You can’t perform that action at this time.