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 new theme --help: wrong content #11161

Closed
deining opened this issue Jun 26, 2023 · 1 comment · Fixed by #11177
Closed

hugo new theme --help: wrong content #11161

deining opened this issue Jun 26, 2023 · 1 comment · Fixed by #11177

Comments

@deining
Copy link
Contributor

deining commented Jun 26, 2023

The help for the command new theme reports wrong content:

hugo v.0.101 (correct)

$ hugo_0.101.0.exe new theme --help
Create a new theme (skeleton) called [name] in ./themes.
New theme is a skeleton. Please add content to the touched files. Add your
name to the copyright line in the license and adjust the theme.toml file
as you see fit.

Usage:
  hugo new theme [name] [flags]
...

hugo v.0.114.1 (incorrect, gives the help for command new site)

$ hugo new theme --help
Create a new site in the provided directory.
The new site will have the correct structure, but no content or theme yet.
Use `hugo new [contentPath]` to create new content.

Usage:
  hugo new theme [path] [flags]
...

The command itself works fine though and does what it is supposed to do.

Does this issue reproduce with the latest release?

Yes

deining added a commit to deining/hugo-ad that referenced this issue Jun 27, 2023
deining added a commit to deining/hugo-ad that referenced this issue Jun 27, 2023
deining added a commit to deining/hugo-ad that referenced this issue Jun 27, 2023
deining added a commit to deining/hugo-ad that referenced this issue Jun 28, 2023
deining added a commit to deining/hugo-ad that referenced this issue Jun 28, 2023
bep pushed a commit that referenced this issue Jun 28, 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 20, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant