summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mair <jrmair@gmail.com>2021-06-14 17:53:33 +0200
committerGitHub <noreply@github.com>2021-06-14 17:53:33 +0200
commit70bcfa06daf37c37d4fd65da0accd588b06403b4 (patch)
tree99c6446b15be830a9e1a336674ca3284b248b861
parentf03aefb418d3b5d7bf37a005aff8a5c4bdb1bbbd (diff)
parent2146a6f9721dd29009a4b5238f73342748645adf (diff)
downloadpry-70bcfa06daf37c37d4fd65da0accd588b06403b4.tar.gz
Merge pull request #2196 from bcgraham/no-history-flag
Restore `--no-history` CLI flag functionality
-rw-r--r--lib/pry/cli.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pry/cli.rb b/lib/pry/cli.rb
index 0e29f7f0..444a83ad 100644
--- a/lib/pry/cli.rb
+++ b/lib/pry/cli.rb
@@ -138,7 +138,7 @@ Pry::CLI.add_options do
end
on "no-history", "Disable history loading" do
- Pry.config.history.should_load = false
+ Pry.config.history_load = false
end
on "no-color", "Disable syntax highlighting for session" do