gohugoio / hugo

The world’s fastest framework for building websites.
https://gohugo.io
Apache License 2.0
74.63k stars 7.45k forks source link

Hugo modules with `-h` in the name are trigerring the help screen rather than running the mod command #6197

Closed atishay closed 5 years ago

atishay commented 5 years ago

Try running the following on a Hugo website:

hugo mod get github.com/atishay/eclectic-hugo-theme
hugo mod get github.com/atishay/eclectic\-hugo\-theme 
hugo mod get "github.com/atishay/eclectic-hugo-theme"

The help for hugo mod get is printed instead of the module being fetched.

https://discourse.gohugo.io/t/hugo-modules-with-h-in-the-name-not-working/20142

github-actions[bot] commented 2 years ago

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.