diff options
| -rw-r--r-- | Library/Homebrew/cmd/commands.rb | 3 |
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 |
