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

hugo mod get --help does not print help but passes --help to go get #11141

Closed
jcdny opened this issue Jun 21, 2023 · 2 comments
Closed

hugo mod get --help does not print help but passes --help to go get #11141

jcdny opened this issue Jun 21, 2023 · 2 comments
Labels
Milestone

Comments

@jcdny
Copy link

jcdny commented Jun 21, 2023

What version of Hugo are you using (hugo version)?

$ hugo version
hugo v0.112.7+extended darwin/arm64 BuildDate=unknown

Does this issue reproduce with the latest release?

yes

$ hugo mod get --help
usage: go get [-t] [-u] [-v] [build flags] [packages]
Run 'go help get' for details.
Error: failed to get ["-d" "--help"]: failed to execute 'go [get -d --help]': failed to execute binary "go" with args [get -d --help]: usage: go get [-t] [-u] [-v] [build flags] [packages]
Run 'go help get' for details.
 *errors.errorString
@bep
Copy link
Member

bep commented Jun 21, 2023

I agree that this is a bug, but it's a little bit in the nature of how hugo mod get works, as we just pass on (most of) the flags to go get which does the hard work.

@bep bep closed this as completed in 80ecb95 Jun 29, 2023
@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 21, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

2 participants