# File cli/ruby-debug/commands/info.rb, line 93 def execute if !@match[1] || @match[1].empty? errmsg "\"info\" must be followed by the name of an info command:\n" print "List of info subcommands:\n\n" for subcmd in Subcommands do print "info #{subcmd.name} -- #{subcmd.short_help}\n" end else args = @match[1].split(/[ \t]+/) param = args.shift subcmd = find(Subcommands, param) if subcmd send("info_#{subcmd.name}", *args) else errmsg "Unknown info command #{param}\n" end end end