class Byebug::InfoCommand
def help(args)
def help(args) if args[1] subcmd = find(Subcommands, args[1]) if subcmd str = subcmd.short_help + '.' if 'file' == subcmd.name and args[2] subsubcmd = find(InfoFileSubcommands, args[2]) if subsubcmd str += "\nInvalid \"file\" attribute \"#{args[2]}\"." else str += "\n" + subsubcmd.short_help + '.' end else str += "\n" + subcmd.long_help if subcmd.long_help end else str = "Invalid \"info\" subcommand \"#{args[1]}\"." end else str = InfoCommand.description + format_subcmds(Subcommands) end print str end