commands: move argument to fix warning.
This commit is contained in:
parent
3d71826e6d
commit
57336ea68b
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user