mirror of
https://github.com/restic/restic.git
synced 2025-10-26 09:08:34 +00:00
prune: allow --repack-smaller-than independently of --repack-small
This commit is contained in:
@@ -143,11 +143,6 @@ func verifyPruneOptions(opts *PruneOptions) error {
|
||||
}
|
||||
}
|
||||
|
||||
if !opts.RepackSmall && opts.SmallPackSize != "" {
|
||||
return errors.Fatal("option --repack-small and --repack-smaller-than: must be specified together")
|
||||
}
|
||||
|
||||
opts.SmallPackBytes = uint64(0)
|
||||
if opts.SmallPackSize != "" {
|
||||
size, err := ui.ParseBytes(opts.SmallPackSize)
|
||||
if err != nil {
|
||||
|
||||
Reference in New Issue
Block a user