aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/commands.rb
diff options
context:
space:
mode:
authorMike McQuaid2015-03-07 15:34:31 +0000
committerMike McQuaid2015-03-08 09:39:14 +0000
commit57336ea68b13ec816c9403f03c437e3e503b2ca5 (patch)
treee04c73a461ef359cb1cba1c107113b6bbc623d9a /Library/Homebrew/cmd/commands.rb
parent3d71826e6dc794b0f3b6b9098ff0b49e3f997bfa (diff)
downloadbrew-57336ea68b13ec816c9403f03c437e3e503b2ca5.tar.bz2
commands: move argument to fix warning.
Diffstat (limited to 'Library/Homebrew/cmd/commands.rb')
-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