zinit icon indicating copy to clipboard operation
zinit copied to clipboard

fix: optimize and re-format usage message

Open vladdoster opened this issue 2 years ago • 1 comments

Description

  • fix zinit --help
  • format available ices and move to ice command usage.
  • check for -h|--help|help first instead of last
  • add --help to ice command
  • update zinit usage message
  • remove deprecated commands (e.g., list, clist, ls)

Related Issue(s)

N/A

Motivation and Context

Usage examples

before

Screenshot 2023-06-05 at 20 21 42 Screenshot 2023-06-05 at 20 24 33 Screenshot 2023-06-05 at 20 21 17

after

Screenshot 2023-06-05 at 20 19 44 Screenshot 2023-06-05 at 20 25 24 Screenshot 2023-06-05 at 20 19 59

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.

vladdoster avatar Jun 06 '23 01:06 vladdoster

Current format is on the left and new on right. Screenshot 2023-06-15 at 21 29 30

vladdoster avatar Jun 16 '23 02:06 vladdoster