lib/byebug/commands/history.rb in byebug-3.1.0 vs lib/byebug/commands/history.rb in byebug-3.1.1

- old
+ new

@@ -5,10 +5,10 @@ end def execute if Byebug::Setting[:autosave] if arg = @match[:num_cmds] - size = get_int(@match[:num_cmds], 'history', 1, Byebug::Setting[:histsize]) + size = get_int(arg, 'history', 1, Byebug::Setting[:histsize]) end print Byebug::History.to_s(size || Byebug::Setting[:histsize]) else errmsg "Not currently saving history. Enable it with \"set autosave\"\n" end