aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMike McQuaid2015-03-07 15:34:31 +0000
committerMike McQuaid2015-03-08 09:39:14 +0000
commit79f2f36488345ef19dd0f2f60b8a2f1dc339ac78 (patch)
tree6a17505a42a7a7142fb67bc44e3bbb6f432c3230
parentd8f56b851af23f1d27a619e41e2602c3e7b1077f (diff)
downloadhomebrew-79f2f36488345ef19dd0f2f60b8a2f1dc339ac78.tar.bz2
commands: move argument to fix warning.
-rw-r--r--Library/Homebrew/cmd/commands.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/commands.rb b/Library/Homebrew/cmd/commands.rb
index 1ee13b049..aefc7e30e 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