class Byebug::InfoCommand
def help(args)
def help(args) return description + format_subcmds unless args and args[1] return format_subcmd(args[1]) unless 'file' == args[1] and args[2] str = subcmd.short_help + '.' subsubcmd = Command.find(InfoFileSubcommands, args[2]) if subsubcmd str += "\nInvalid \"file\" attribute \"#{args[2]}\"." else str += "\n" + subsubcmd.short_help + '.' end return str end