# File lib/mongrel/command.rb, line 156 156: def print_command_list 157: puts "#{Mongrel::Command::BANNER}\nAvailable commands are:\n\n" 158: 159: self.commands.each do |name| 160: if /mongrel::/ =~ name 161: name = name[9 .. -1] 162: end 163: 164: puts " - #{name[1 .. -1]}\n" 165: end 166: 167: puts "\nEach command takes -h as an option to get help." 168: 169: end