aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/options.rb
diff options
context:
space:
mode:
authorJack Nagel2012-02-04 00:01:29 -0600
committerJack Nagel2012-02-04 00:27:05 -0600
commitbc14dcf976d87a60036a238dc493fbc30cb134e3 (patch)
treee3b2347e6bf568df8a857f04408bb2336623cec3 /Library/Homebrew/cmd/options.rb
parent794d3408109025955fae9f2702d578f0d293ea65 (diff)
downloadhomebrew-bc14dcf976d87a60036a238dc493fbc30cb134e3.tar.bz2
Warn the user of required arguments
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Homebrew/cmd/options.rb')
-rw-r--r--Library/Homebrew/cmd/options.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/options.rb b/Library/Homebrew/cmd/options.rb
index e72bdb0a5..696d4a46a 100644
--- a/Library/Homebrew/cmd/options.rb
+++ b/Library/Homebrew/cmd/options.rb
@@ -11,6 +11,7 @@ def ff
f.installed? or outdated.include? f.name
end
else
+ raise FormulaUnspecifiedError if ARGV.named.empty?
ARGV.formulae
end
end