commands: move argument to fix warning.

This commit is contained in:
Mike McQuaid 2015-03-07 15:34:31 +00:00
parent 3d71826e6d
commit 57336ea68b

View File

@ -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