Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Restore --no-history CLI flag functionality #2196

Merged
merged 1 commit into from
Jun 14, 2021

Conversation

bcgraham
Copy link
Contributor

The --no-history option was almost ten years ago, in db64985, when the object at Pry.config.history was still an OpenStruct (added in e1d9763, just over ten years ago!). The contract on the configuration history object changed in e5556a2. This commit brings the --no-history option up to date with that refactor.

This is essentially a duplicate of #2143, but that appears to be abandoned.

The `--no-history` option was almost ten years ago, in db64985, when
the object at `Pry.config.history` was still an `OpenStruct` (added in
e1d9763, just over ten years ago!). The contract on the configuration
history object changed in e5556a2. This commit brings the
`--no-history` option up to date with that refactor.
@banister
Copy link
Member

Looks great, thanks!

@banister banister merged commit 70bcfa0 into pry:master Jun 14, 2021
@kyrylo kyrylo mentioned this pull request Jul 10, 2021
@bcgraham bcgraham deleted the no-history-flag branch July 13, 2021 15:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants