From 57336ea68b13ec816c9403f03c437e3e503b2ca5 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sat, 7 Mar 2015 15:34:31 +0000 Subject: [PATCH] commands: move argument to fix warning. --- Library/Homebrew/cmd/commands.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb index 1ee13b049c..aefc7e30e6 100644 --- a/Library/Homebrew/cmd/commands.rb +++ b/Library/Homebrew/cmd/commands.rb @@ -1,8 +1,9 @@ module Homebrew def commands # Find commands in Homebrew/cmd + with_directory = false cmds = (HOMEBREW_REPOSITORY/"Library/Homebrew/cmd"). - children(with_directory=false). + children(with_directory). map {|f| File.basename(f, '.rb')} puts "Built-in commands" puts_columns cmds