Add argument to zap (-o) older versions of packages from all chroots (#841)

- also moved the mismatch clean (-m) before zapping the chroots
- added confirmation questions to -o and -m
This commit is contained in:
drebrez 2017-11-02 18:33:14 +01:00 committed by Oliver Smith
parent 2b7dbb9433
commit ba3e2f6d26
3 changed files with 35 additions and 8 deletions

View file

@ -174,6 +174,8 @@ def arguments():
zap.add_argument("-m", "--mismatch-bins", action="store_true", help="also delete"
" binary packages that are newer than the corresponding"
" package in aports")
zap.add_argument("-o", "--old-bins", action="store_true", help="also delete outdated"
" binary packages downloaded from mirrors (e.g. from Alpine)")
zap.add_argument("-d", "--distfiles", action="store_true", help="also delete"
" downloaded files cache")