| 
									
										
										
										
											2016-04-19 03:04:49 +02:00
										 |  |  | #:  * `--version`: | 
					
						
							|  |  |  | #:    Print the version number of Homebrew to standard output and exit. | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | module Homebrew | 
					
						
							| 
									
										
										
										
											2016-09-26 01:44:51 +02:00
										 |  |  |   module_function | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-04-19 03:04:49 +02:00
										 |  |  |   def __version | 
					
						
							| 
									
										
										
										
											2018-05-16 17:33:40 +02:00
										 |  |  |     odie "This command does not take arguments." if ARGV.any? | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |     puts "Homebrew #{HOMEBREW_VERSION}" | 
					
						
							|  |  |  |     puts "Homebrew/homebrew-core #{CoreTap.instance.version_string}" | 
					
						
							| 
									
										
										
										
											2016-04-19 03:04:49 +02:00
										 |  |  |   end | 
					
						
							|  |  |  | end |