lib/byebug/commands/set.rb in byebug-1.3.0 vs lib/byebug/commands/set.rb in byebug-1.3.1

- old
+ new

@@ -165,21 +165,9 @@ %{ Modifies parts of byebug environment. Boolean values take on, off, 1 or 0. You can see these environment settings with the "show" command } end - - def help(args) - if args && args[1] - subcmd = SetCommand.new(nil).find(Subcommands, args[1]) - if subcmd - return "#{subcmd.short_help}.\n#{subcmd.long_help ? subcmd.long_help : ''}" - else - return "Invalid \"set\" subcommand \"#{args[1]}\".\n" - end - end - description + SetCommand.new(nil).format_subcmds(Subcommands) - end end end end