diff options
| author | Jack Nagel | 2012-02-04 00:01:29 -0600 |
|---|---|---|
| committer | Jack Nagel | 2012-02-04 00:27:05 -0600 |
| commit | 1a3a1249bf811c783b8d65b9491b66054a19aa5e (patch) | |
| tree | f0ee299dea0a44bc10e7cefe58e63aa8988f942e /Library/Homebrew/cmd/options.rb | |
| parent | 7ed76725c4c1b4871cb085709f737af52ffd5188 (diff) | |
| download | brew-1a3a1249bf811c783b8d65b9491b66054a19aa5e.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.rb | 1 |
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 |
