inlucde treat as --cask(s)/--formula(e) args in suggestion
This commit is contained in:
		
							parent
							
								
									742824228f
								
							
						
					
					
						commit
						0b7d22a201
					
				@ -54,7 +54,9 @@ module Homebrew
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
    if Homebrew.failed?
 | 
					    if Homebrew.failed?
 | 
				
			||||||
      $stderr.puts "The name may be wrong, or the tap hasn't been tapped. Instead try:"
 | 
					      $stderr.puts "The name may be wrong, or the tap hasn't been tapped. Instead try:"
 | 
				
			||||||
      $stderr.puts "  brew info --github #{args.named.join(" ")}"
 | 
					      treat_as = "--cask " if args.cask?
 | 
				
			||||||
 | 
					      treat_as = "--formula " if args.formula?
 | 
				
			||||||
 | 
					      $stderr.puts "  brew info --github #{treat_as}#{args.named.join(" ")}"
 | 
				
			||||||
      return
 | 
					      return
 | 
				
			||||||
    end
 | 
					    end
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user