summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xbin/pkg3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/pkg b/bin/pkg
index 3cdb3ab..f69cc0a 100755
--- a/bin/pkg
+++ b/bin/pkg
@@ -839,6 +839,9 @@ case $action in
status) wrap pkg_status "$1" 'Checking package status' ;;
update) pkg_update $* ;;
upgrade|pull)
+ if [[ $action == upgrade ]] {
+ warn "pkg updgrade is deprecated, use pkg pull instead\n"
+ }
(( AUTOUPDATE )) && pkg_update remote
wrap pkg_upgrade "$1" 'Looking for updates'
;;