added info and localinfo commands
This commit is contained in:
		
							
								
								
									
										8
									
								
								pman.sh
									
									
									
									
									
								
							
							
						
						
									
										8
									
								
								pman.sh
									
									
									
									
									
								
							@@ -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"
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user