# HG changeset patch # User Christopher Rogers # Date 1320560653 0 # Node ID e4e3fa5400041f0866c84422f2c74eb731d5803b # Parent 84f54d41d7c55dd38387dcc7ff8dbb2515560f09 tazpkg: Fixed --help-up option. diff -r 84f54d41d7c5 -r e4e3fa540004 tazpkg --- a/tazpkg Sun Nov 06 05:40:20 2011 +0000 +++ b/tazpkg Sun Nov 06 06:24:13 2011 +0000 @@ -2351,7 +2351,7 @@ echo "" fi done ;; - up|upgrade) + up|upgrade|--help-up) # # This is the new way to upgrade packages making 'upgrade' and # upgradeable out-of-date. This new way is much, much more faster! @@ -2359,6 +2359,10 @@ # and easy to handle vars after using only md5sum to compare packages # # Options available for the command: up + if [ "$COMMAND" == "--help-up" ]; then + usage_up + exit 1 + fi for opt in $@ do case "$opt" in @@ -2393,7 +2397,7 @@ echo -en "\033[26G " && gettext "Update type" echo -e "\033[0m" separator - cd $LOCALSTATE/installed + cd $INSTALLED echo "" > $UP_LIST blocked_count=0 for pkg in *