Package name is optional in 'upgrade'

This commit is contained in:
Jeroen Akkerman 2017-03-22 11:59:23 +01:00 committed by GitHub
parent 6eafed8688
commit ca62d93d89

View File

@ -36,7 +36,7 @@ _yarn ()
'info:<package> [<field>] - fetch information about a package and return it in a tree format.' \ 'info:<package> [<field>] - fetch information about a package and return it in a tree format.' \
'outdated:Checks for outdated package dependencies.' \ 'outdated:Checks for outdated package dependencies.' \
'run:Runs a defined package script.' \ 'run:Runs a defined package script.' \
'upgrade:<package> Upgrades packages to their latest version based on the specified range.' \ 'upgrade:[package] Upgrades packages to their latest version based on the specified range.' \
'upgrade-interactive:Opens an interactive GUI to update packages.' \ 'upgrade-interactive:Opens an interactive GUI to update packages.' \
'why:<package> - Show information about why a package is installed.' 'why:<package> - Show information about why a package is installed.'
) )