From 972845b05aefcbf8f07b5601416ea0cec959bb5a Mon Sep 17 00:00:00 2001 From: Gert Goet Date: Sat, 5 Oct 2024 19:32:40 +0200 Subject: [PATCH] Document infinite history As introduced in 824473e8 --- lib/irb.rb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/irb.rb b/lib/irb.rb index 213e23117..25b5c4443 100644 --- a/lib/irb.rb +++ b/lib/irb.rb @@ -220,11 +220,11 @@ # *new_filepath*, which becomes the history file for the session. # # You can change the number of commands saved by adding to your configuration -# file: `IRB.conf[:SAVE_HISTORY] = *n*`, wheHISTORY_FILEre *n* is one of: +# file: `IRB.conf[:SAVE_HISTORY] = *n*`, where *n* is one of: # -# * Positive integer: the number of commands to be saved, -# * Zero: all commands are to be saved. -# * `nil`: no commands are to be saved,. +# * Positive integer: the number of commands to be saved. +# * Negative integer: all commands are to be saved. +# * Zero or `nil`: no commands are to be saved. # # # During the session, you can use methods `conf.save_history` or