aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/pin.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cmd/pin.rb')
-rw-r--r--Library/Homebrew/cmd/pin.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/cmd/pin.rb b/Library/Homebrew/cmd/pin.rb
index a54ef6e7b..c5087f6d4 100644
--- a/Library/Homebrew/cmd/pin.rb
+++ b/Library/Homebrew/cmd/pin.rb
@@ -5,6 +5,8 @@
require "formula"
module Homebrew
+ module_function
+
def pin
raise FormulaUnspecifiedError if ARGV.named.empty?