Commit 2b0796f6a5b1998216aa5740f273693f6af35479
1 parent
da678afb28
Add a `Usage:` line to `-use` command's err output.
Showing 1 changed file with 4 additions and 3 deletions Side-by-side Diff
antigen.zsh
... | ... | @@ -372,12 +372,13 @@ antigen-cleanup () { |
372 | 372 | } |
373 | 373 | |
374 | 374 | antigen-use () { |
375 | - if [[ $1 == "oh-my-zsh" ]]; then | |
375 | + if [[ $1 == oh-my-zsh ]]; then | |
376 | 376 | antigen-lib $@ |
377 | - elif [[ $1 == "prezto" ]]; then | |
377 | + elif [[ $1 == prezto ]]; then | |
378 | 378 | antigen-prezto-lib $@ |
379 | 379 | else |
380 | - echo 'Antigen currently supports only following libraries:' >&2 | |
380 | + echo 'Usage: antigen-use <library-name>' >&2 | |
381 | + echo 'Where <library-name> is any one of the following:' >&2 | |
381 | 382 | echo ' * oh-my-zsh' >&2 |
382 | 383 | echo ' * prezto' >&2 |
383 | 384 | return 1 |