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

cleanup: added option -n/--keep to keep more than one old version (#5382) #5441

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

hannesdorn
Copy link

Description

Added cleanup optional parameter to keep more than one old version
scoop cleanup -n:2
scoop cleanup -keep 2
Deletes all old versions of , but keeps the current version and one older version

Motivation and Context

Closes #5382

How Has This Been Tested?

I tested the change manually on my local scoop installation

Checklist:

  • I have read the Contributing Guide.
  • I have ensured that I am targeting the develop branch.
  • I have updated the documentation accordingly.
  • I have updated the tests accordingly.
  • I have added an entry in the CHANGELOG.
    -> I am not sure, how to add somehting ot CHANGELOG.

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.

1 participant