Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							963cc556d4 
							
						 
					 
					
						
						
							
							Revert "argv: move options_only to cli/args"  
						
						
						
						
					 
					
						2019-09-13 09:34:43 +01:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							4586632855 
							
						 
					 
					
						
						
							
							argv: move options_only to cli/args  
						
						
						
						
					 
					
						2019-09-07 21:32:50 +05:30 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							8a8359cdd4 
							
						 
					 
					
						
						
							
							manpages: sentence rewording for readability  
						
						... 
						
						
						
						Use active voice when applicable, better verbs & adjectives, preposition usage, proper tense, etc. 
						
						
					 
					
						2019-08-20 09:05:45 -04:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							b4303cd983 
							
						 
					 
					
						
						
							
							manpages: fix command & option descriptions  
						
						
						
						
					 
					
						2019-08-20 09:03:33 -04:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							ee314617f7 
							
						 
					 
					
						
						
							
							manpages: update command usage strings  
						
						
						
						
					 
					
						2019-08-20 08:55:54 -04:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							6340792f78 
							
						 
					 
					
						
						
							
							manpages: output formatting fixes  
						
						
						
						
					 
					
						2019-08-20 08:28:35 -04:00 
						 
				 
			
				
					
						
							
							
								Cheng XU 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							ce00a94737 
							
						 
					 
					
						
						
							
							remove extra command output when running brew list -v <formula>  
						
						... 
						
						
						
						`brew list -v <formula>` is used to list all files inside formula's keg.
However since 70b93f65eab70cd84d221059a2864a52202df141, an extra
`find /usr/local/Cellar/<formula>/<version> -not -type d -print` will be
printed out. Fix the problem by using `system_command!` instead of
`safe_system`. 
						
						
					 
					
						2019-07-16 18:41:37 +08:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							c4f72312ce 
							
						 
					 
					
						
						
							
							Fixup brew style failures.  
						
						
						
						
					 
					
						2019-04-30 09:19:18 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							36dbad3922 
							
						 
					 
					
						
						
							
							Add frozen_string_literal to all files.  
						
						
						
						
					 
					
						2019-04-20 13:27:36 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							e40b171127 
							
						 
					 
					
						
						
							
							Rename cli_parser to cli/parser.  
						
						
						
						
					 
					
						2019-04-17 22:16:50 +09:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							70b93f65ea 
							
						 
					 
					
						
						
							
							*cmd/*: use *system instead of exec for easier testing.  
						
						... 
						
						
						
						This improves both test coverage, makes it easier to use a profiler and
a debugger. 
						
						
					 
					
						2019-03-27 21:15:24 +00:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							560ccddb69 
							
						 
					 
					
						
						
							
							help: rewrap output to 80 columns  
						
						... 
						
						
						
						Accounts for paragraph breaks and option descriptions. Also fixes some help text nits. 
						
						
					 
					
						2019-03-11 12:52:07 -04:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							d64429a736 
							
						 
					 
					
						
						
							
							rubocop: enable Style/IfUnlessModifier.  
						
						
						
						
					 
					
						2019-02-21 12:55:49 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							6cb7a00f2d 
							
						 
					 
					
						
						
							
							cmd: remove --help headers and tweak docs.  
						
						
						
						
					 
					
						2019-01-30 21:39:28 +00:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							1177f04094 
							
						 
					 
					
						
						
							
							cmd/list: improve passed through option descriptions.  
						
						
						
						
					 
					
						2018-11-24 11:23:14 +00:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							2121094f51 
							
						 
					 
					
						
						
							
							list: Use CLI::Parser to parse args  
						
						
						
						
					 
					
						2018-11-11 19:56:53 +05:30 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							e9b9ea49a1 
							
						 
					 
					
						
						
							
							Update to RuboCop 0.59.1.  
						
						
						
						
					 
					
						2018-09-17 03:45:59 +02:00 
						 
				 
			
				
					
						
							
							
								Gautham Goli 
							
						 
					 
					
						
						
						
						
							
						
						
							fba52e2f74 
							
						 
					 
					
						
						
							
							cli_parser: Store parsed args in Homebrew.args and access args everywhere else  
						
						
						
						
					 
					
						2018-05-30 00:05:39 +05:30 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							f8f77ea52d 
							
						 
					 
					
						
						
							
							cmd/list: add common ls options.  
						
						... 
						
						
						
						We need to manually specify these now so let's add a few that we'd
either previously documented or we've caught being used in the wild and
adjust the documentation accordingly. 
						
						
					 
					
						2018-05-29 18:45:46 +01:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f7e308ab44 
							
						 
					 
					
						
						
							
							list.rb: use new syntax correctly  
						
						
						
						
					 
					
						2018-05-25 06:17:40 -05:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							288c9c6dc7 
							
						 
					 
					
						
						
							
							list.rb: new syntax for multiple + versions flags  
						
						
						
						
					 
					
						2018-05-25 06:17:40 -05:00 
						 
				 
			
				
					
						
							
							
								Maxim Belkin 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							da66bf96b7 
							
						 
					 
					
						
						
							
							list.rb: use CLI::Parser to better handle args  
						
						... 
						
						
						
						* --multiple now assumes --versions
* Use CLI::Parser (that, in turns, uses OpenStruct) to handle arguments 
						
						
					 
					
						2018-05-25 06:17:40 -05:00 
						 
				 
			
				
					
						
							
							
								EricFromCanada 
							
						 
					 
					
						
						
						
						
							
						
						
							1d2b4ed321 
							
						 
					 
					
						
						
							
							docs: add more missing option descriptions  
						
						... 
						
						
						
						and improve wording or formatting where necessary. 
						
						
					 
					
						2018-02-01 16:06:17 -05:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							ac799d9f2d 
							
						 
					 
					
						
						
							
							brew list --pinned: pass explicit sort to handle APFS  
						
						
						
						
					 
					
						2017-11-07 12:35:40 +10:00 
						 
				 
			
				
					
						
							
							
								commitay 
							
						 
					 
					
						
						
						
						
							
						
						
							ccecdab4cd 
							
						 
					 
					
						
						
							
							brew list --versions: pass explicit sort to handle APFS  
						
						
						
						
					 
					
						2017-11-06 20:27:23 +10:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							ed28ed78d1 
							
						 
					 
					
						
						
							
							Merge pull request  #3304  from richiethomas/refactor_uses  
						
						... 
						
						
						
						In 'readall.rb', replaced multi-step 'each' loop with one-line method chain of Ruby enumerator methods 
						
						
					 
					
						2017-10-20 18:10:31 +01:00 
						 
				 
			
				
					
						
							
							
								richiethomas 
							
						 
					 
					
						
						
						
						
							
						
						
							b135a70c57 
							
						 
					 
					
						
						
							
							Fix brew style warnings  
						
						
						
						
					 
					
						2017-10-18 20:21:49 -04:00 
						 
				 
			
				
					
						
							
							
								Dominyk Tiller 
							
						 
					 
					
						
						
							
							
						
						
						
							
						
						
							f1b183b287 
							
						 
					 
					
						
						
							
							list: pass explicit sort to handle APFS  
						
						
						
						
					 
					
						2017-10-14 06:35:33 +01:00 
						 
				 
			
				
					
						
							
							
								Dan Wendorf 
							
						 
					 
					
						
						
						
						
							
						
						
							acf1b278ae 
							
						 
					 
					
						
						
							
							List cask full-names  
						
						... 
						
						
						
						`brew cask list` supports the `--full-name` flag which will include the tap
name for casks not part of the core caskroom/cask tap. For example, if
cask "foo-beta" is installed from the caskroom/versions cask, `brew cask
list --full-name` will report the name as "caskroom/versions/foo-beta". 
						
						
					 
					
						2017-09-16 10:00:06 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							2d6ae61314 
							
						 
					 
					
						
						
							
							Re-revert "Fix operator spacing."  
						
						
						
						
					 
					
						2017-06-02 19:22:05 +02:00 
						 
				 
			
				
					
						
							
							
								ilovezfs 
							
						 
					 
					
						
						
						
						
							
						
						
							197392b56d 
							
						 
					 
					
						
						
							
							Revert "Fix operator spacing."  
						
						
						
						
					 
					
						2017-06-01 04:06:40 -07:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							d34ba7395b 
							
						 
					 
					
						
						
							
							Fix operator spacing.  
						
						
						
						
					 
					
						2017-05-31 19:53:41 +02:00 
						 
				 
			
				
					
						
							
							
								Joshua McKinney 
							
						 
					 
					
						
						
						
						
							
						
						
							25396d9c4d 
							
						 
					 
					
						
						
							
							Install tap command completions and manpages  
						
						... 
						
						
						
						Taps can include completion scripts for external commands under
`completions/bash`, `completions/fish`, or `completions/zsh`. `brew tap`
will automatically install these into the correct directories during
install. 
						
						
					 
					
						2017-02-26 15:40:52 -06:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							649c7ab48a 
							
						 
					 
					
						
						
							
							Merge pull request  #1520  from vladshablinsky/list_follow_aliases  
						
						... 
						
						
						
						cmd/list: follow aliases 
						
						
					 
					
						2016-11-17 15:58:25 +00:00 
						 
				 
			
				
					
						
							
							
								Uladzislau Shablinski 
							
						 
					 
					
						
						
						
						
							
						
						
							715caea79b 
							
						 
					 
					
						
						
							
							cmd/list: follow aliases  
						
						... 
						
						
						
						Closes  #1514  
					
						2016-11-16 02:08:38 +03:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							353b67a6b2 
							
						 
					 
					
						
						
							
							No empty whens.  
						
						
						
						
					 
					
						2016-11-14 09:45:44 +01:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							198bf4d3bd 
							
						 
					 
					
						
						
							
							Convert puts_columns to puts Formatter.columns.  
						
						
						
						
					 
					
						2016-10-15 17:13:38 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							01d87f8107 
							
						 
					 
					
						
						
							
							Don’t use puts_columns if empty? or single item.  
						
						
						
						
					 
					
						2016-10-15 17:13:38 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							cafe149780 
							
						 
					 
					
						
						
							
							Merge pull request  #1145  from reitermarkus/module-function  
						
						... 
						
						
						
						Use `module_function` for `Homebrew` module. 
						
						
					 
					
						2016-10-04 10:31:49 +02:00 
						 
				 
			
				
					
						
							
							
								Uladzislau Shablinski 
							
						 
					 
					
						
						
						
						
							
						
						
							db478fb7b2 
							
						 
					 
					
						
						
							
							list: fix exit code for --verbose and --pinned  
						
						... 
						
						
						
						`brew list --verbose <formulae>` lists only those kegs that
are installed and exits with 0 if all <formulae> installed.
If one or more formulae from <formulae> are not installed, the
command lists only installed versions and exits with 1.
`brew --pinned formula` exits with 1 if formula is not pinned.
Fixes  #1172  
						
						
					 
					
						2016-10-02 12:35:30 +03:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							c36f42ce95 
							
						 
					 
					
						
						
							
							Remove private_class_method from commands.  
						
						
						
						
					 
					
						2016-10-02 00:24:47 +02:00 
						 
				 
			
				
					
						
							
							
								Markus Reiter 
							
						 
					 
					
						
						
						
						
							
						
						
							0ab750bf24 
							
						 
					 
					
						
						
							
							Use module_function for commands.  
						
						
						
						
					 
					
						2016-10-02 00:24:47 +02:00 
						 
				 
			
				
					
						
							
							
								Shaun Jackman 
							
						 
					 
					
						
						
						
						
							
						
						
							25df0c03d6 
							
						 
					 
					
						
						
							
							Store the formula used to build the keg in the keg  
						
						... 
						
						
						
						Store the formula used to build the keg inside the keg in a
file named NAME/VERSION/.brew/NAME.rb after removing the
bottle do ... end block.
See https://github.com/Homebrew/brew-evolution/pull/6 .
Closes https://github.com/Homebrew/brew/issues/931 . 
						
						
					 
					
						2016-09-23 17:11:24 -07:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							4e6990ed81 
							
						 
					 
					
						
						
							
							list: use new exclude paths.  
						
						
						
						
					 
					
						2016-09-20 10:41:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							72d10fff0b 
							
						 
					 
					
						
						
							
							Use constants for LinkedKegs/PinnedKegs/Locks.  
						
						... 
						
						
						
						These definitions are scattered throughout the codebase which makes it
hard to refactor them later (my goal is to move them outside of
HOMEBREW_LIBRARY). Unify their definitions for clearer code and easier
movement later. 
						
						
					 
					
						2016-09-15 18:28:42 +01:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							9d782454ab 
							
						 
					 
					
						
						
							
							cmd/list: fix Rubocop warnings.  
						
						
						
						
					 
					
						2016-09-11 17:58:59 +01:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							823505a058 
							
						 
					 
					
						
						
							
							Fix minor issues in command help text formatting  
						
						... 
						
						
						
						- Inconsistent or unneeded indentation
- Missing or superfluous empty lines
- Missing or wrongly formatted arguments in command summary
- Missing punctuation 
						
						
					 
					
						2016-08-17 01:25:51 +02:00 
						 
				 
			
				
					
						
							
							
								Mike McQuaid 
							
						 
					 
					
						
						
						
						
							
						
						
							0695edafa1 
							
						 
					 
					
						
						
							
							list: note that ls command is used.  
						
						... 
						
						
						
						And arguments can be passed through to it.
Tweak produced out of conversation in
https://github.com/Homebrew/brew-evolution/pull/8 . 
						
						
					 
					
						2016-08-14 10:38:34 +01:00 
						 
				 
			
				
					
						
							
							
								Xu Cheng 
							
						 
					 
					
						
						
						
						
							
						
						
							a8566c9848 
							
						 
					 
					
						
						
							
							various: eliminate the usage of any? ( #638 )  
						
						... 
						
						
						
						`any?` is not the opposite of `empty?`. Besides the case that
`[false, nil].any?` will return false, `any?`(O(n)) has much worse
performance than `empty?`(O(1)). 
						
						
					 
					
						2016-08-05 22:01:32 +08:00 
						 
				 
			
				
					
						
							
							
								Martin Afanasjew 
							
						 
					 
					
						
						
						
						
							
						
						
							8e42077a8e 
							
						 
					 
					
						
						
							
							list: exclude zsh completions from unbrewed  
						
						... 
						
						
						
						Since edf000e4cd30c3626ccc28c52ed32f2d84a200dd `zsh` completions are in
`share/zsh/site-functions/_brew`, making this path a part of Homebrew.
Hide it from `brew list --unbrewed` to reduce confusion/noise. 
						
						
					 
					
						2016-04-17 00:13:17 +02:00