lib/ruby-debug/commands/set.rb in debugger-1.3.1 vs lib/ruby-debug/commands/set.rb in debugger-1.3.2

- old
+ new

@@ -139,11 +139,13 @@ when /^save$/ interface.history_save = get_onoff(args[1]) when /^size$/ interface.history_length = get_int(args[1], "Set history size") + when /^filename$/ + interface.histfile = File.join(ENV["HOME"]||ENV["HOMEPATH"]||".", args[1]) else - print "Invalid history parameter #{args[0]}. Should be 'save' or 'size'.\n" + print "Invalid history parameter #{args[0]}. Should be 'filename', 'save' or 'size'.\n" end else print "Need two parameters for 'set history'; got #{args.size}.\n" return end