aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/dev-cmd/mirror.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/dev-cmd/mirror.rb')
-rw-r--r--Library/Homebrew/dev-cmd/mirror.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/Library/Homebrew/dev-cmd/mirror.rb b/Library/Homebrew/dev-cmd/mirror.rb
index 9966163f8..bd5868726 100644
--- a/Library/Homebrew/dev-cmd/mirror.rb
+++ b/Library/Homebrew/dev-cmd/mirror.rb
@@ -3,6 +3,8 @@
#: Reuploads the stable URL for a formula to Bintray to use it as a mirror.
module Homebrew
+ module_function
+
def mirror
odie "This command requires at least formula argument!" if ARGV.named.empty?