Browse Source

Extend APTMAN help message

master
Max mal Richtig 1 month ago
parent
commit
58ba8bd944
  1. 35
      aptman

35
aptman

@ -16,7 +16,6 @@ fi
PREFIX=""
target_env="$MSYSTEM"
cmd=""
if [ "$1" == "-t" ]
then
@ -52,8 +51,10 @@ then
;;
esac
else
if [ "$MSYSTEM" != "MSYS" ]
if [ "$MSYSTEM" == "MSYS" ]
then
PREFIX=""
else
PREFIX="$MINGW_PACKAGE_PREFIX""-"
fi
fi
@ -135,18 +136,22 @@ case "$cmd" in
;;
*)
# else
echo "Usage: aptman [...]"
echo "---------------------------------------"
echo "update - Update packages"
echo "upgrade - Install upgrades"
echo "upgradeable - List upgradeable packages"
echo "install | reinstall - (re)Install packages"
echo "remove - Uninstall package"
echo "autoremove - Uninstalling orphaned packages"
echo "purge - Uninstall package, dependencies and clean config"
echo "check - Check for broken dependencies"
echo "search - Search package"
echo "show - Show package info"
echo "clean | cleaner - Clean up pacman cache"
echo "USAGE: aptman ([OPTION]) [COMMAND]"
echo "-------------------------------------------------------------------------------"
echo "OPTIONS:"
echo " -t [ENVIRONMENT] : Use target MSYS environment"
echo "-------------------------------------------------------------------------------"
echo "COMMANDS:"
echo " update - Update package index"
echo " upgrade - Install upgrades"
echo " upgradeable - List upgradeable packages"
echo " install | reinstall [PKG] - (re)Install packages"
echo " remove [PKG] - Uninstall package"
echo " autoremove - Uninstalling orphaned packages"
echo " purge [PKG] - Uninstall package, dependencies and clean config"
echo " check - Check for broken dependencies"
echo " search [PKG] - Search package"
echo " show [PKG] - Show package info"
echo " clean | cleaner - Clean up pacman cache"
;;
esac
Loading…
Cancel
Save