zdharma-continuum / zinit

🌻 Flexible and fast ZSH plugin manager
MIT License
2.74k stars 122 forks source link

[bug]: Unknown subcommand: `--help` #593

Closed imhansai closed 7 months ago

imhansai commented 7 months ago

What happened?

Execute zinit --help and ERROR: Unknown subcommand:--help` appears

Steps to reproduce

  1. zinit --help

Relevant output

ERROR: Unknown subcommand: `--help` (it should be one of, e.g.: `load`, `snippet`, `update`, `delete`, …, e.g.: `zinit load username/reponame`) or a for-based command body (i.e.: e.g.: `zinit …ice-spec… for …(plugin or snippet) ID-1 ID-2 ⋯⋯…`). See `help` for a more detailed usage information and the list of the subcommands.

Screenshots and recordings

image

Operating System & Version

OS: darwin22.0 | Vendor: apple | Machine: x86_64 | CPU: x86_64 | Processor: i386 | Hardware: x86_64

Zsh version

zsh 5.9 (x86_64-apple-darwin22.0)

Terminal emulator

xterm-256color

If using WSL on Windows, which version of WSL

None

Additional context

No response

Code of Conduct

vladdoster commented 7 months ago

@imhansai,

Thanks for reporting this and I opened #597 with the fix and unit tests.

vladdoster commented 7 months ago

@imhansai,

Merged into main (run zinit self-update). Can you confirm it fixed the issue?

imhansai commented 7 months ago

@vladdoster Yes, thank you.

github-actions[bot] commented 5 months ago

:tada: This issue has been resolved in version 3.13.0 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: