added info and localinfo commands

This commit is contained in:
Bryan Joshua Pedini 2024-06-10 07:01:46 +02:00
parent 2c209fd7a0
commit 7b3de6cef0

View File

@ -49,6 +49,12 @@ case "$command_args" in
"search") "search")
command_args="-Ss" command_args="-Ss"
;; ;;
"info")
command_args="-Si"
;;
"localinfo")
command_args="-Qi"
;;
"provides") "provides")
# Update the cache # Update the cache
su_needed=true su_needed=true
@ -110,6 +116,8 @@ case "$command_args" in
echo " (aur packages - all the normal operations except config are available)" echo " (aur packages - all the normal operations except config are available)"
echo " aur (yay) - yay | same as \"yay\"" echo " aur (yay) - yay | same as \"yay\""
echo " search - pacman -Ss | search packages" echo " search - pacman -Ss | search packages"
echo " info - pacman -Si | show package information"
echo " localinfo - pacman -Qi | show local package information"
echo " provides - pacman -F | list packages that provide file" echo " provides - pacman -F | list packages that provide file"
echo " installed - pacman -Q | list installed packages" echo " installed - pacman -Q | list installed packages"
echo " install - pacman -S | install packages" echo " install - pacman -S | install packages"