From e96744eb6f94c19eb0910c61984e7121e063f970 Mon Sep 17 00:00:00 2001 From: Max Howell Date: Sat, 25 Sep 2010 12:49:09 +0100 Subject: `brew deps foo bar` now gives the dependency intersection Rationale: this is more useful than the union, and you can still easily get the union by running the command twice and concatenating the result. --- Library/Homebrew/extend/ARGV.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library/Homebrew/extend') diff --git a/Library/Homebrew/extend/ARGV.rb b/Library/Homebrew/extend/ARGV.rb index c7195bbcd..29d2c1d19 100644 --- a/Library/Homebrew/extend/ARGV.rb +++ b/Library/Homebrew/extend/ARGV.rb @@ -54,6 +54,9 @@ module HomebrewArgvExtension def build_head? flag? '--HEAD' end + def one? + flag? "--1" + end def flag? flag options_only.each do |arg| -- cgit v1.2.3