diff options
-rwxr-xr-x | bin/pkg | 2 | ||||
-rw-r--r-- | man/1/pkg | 2 | ||||
-rw-r--r-- | provides/zsh/completions/_pkg | 4 |
3 files changed, 4 insertions, 4 deletions
@@ -750,7 +750,7 @@ case $action in remove) pkg_remove $* ;; status) wrap pkg_status "$1" 'Checking package status' ;; update) pkg_update $* ;; - upgrade) + upgrade|pull) (( AUTOUPDATE )) && pkg_update_remote wrap pkg_upgrade "$1" 'Looking for updates' ;; @@ -74,7 +74,7 @@ If no arguments is given, checks all installed packages Update local and remote package list -=item B<upgrade> [ I<package> ] +=item B<pull> / B<upgrade> [ I<package> ] retrieve and install newest available version of I<package>. If no argument is given, updates all installed packages diff --git a/provides/zsh/completions/_pkg b/provides/zsh/completions/_pkg index 26d06f0..5e8ce9f 100644 --- a/provides/zsh/completions/_pkg +++ b/provides/zsh/completions/_pkg @@ -10,7 +10,7 @@ typeset expl function _pkg_action () { _wanted action expl 'action' \ compadd add install delete eval remove info list{,-all} \ - local-update log push remote-update refresh status update upgrade + local-update log pull push remote-update refresh status update upgrade } function _pkg_installed () { @@ -32,7 +32,7 @@ if (( CURRENT == 2 )) { _pkg_action } elif (( CURRENT == 3 )) { case ${words[2]} in - changelog|check|delete|log|push|refresh|remove|status|upgrade) + changelog|check|delete|log|pull|push|refresh|remove|status|upgrade) _pkg_installed ;; info) |