zinit
zinit copied to clipboard
fix: optimize and re-format usage message
Description
- fix
zinit --help - format available ices and move to
icecommand usage. - check for
-h|--help|helpfirst instead of last - add
--helptoicecommand - update
zinitusage message - remove deprecated commands (e.g.,
list,clist,ls)
Related Issue(s)
N/A
Motivation and Context
Usage examples
before
after
How Has This Been Tested?
Types of changes
- [ ] Breaking change (fix or feature that would cause existing functionality to change)
- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] Documentation change
- [X] New feature (non-breaking change which adds functionality)
Checklist:
- [X] All new and existing tests passed.
- [X] I have added tests to cover my changes.
- [X] I have updated the documentation accordingly.
Current format is on the left and new on right.